Here is my code
print("1")print("2")My desired output
21I tried using ansi characters but the second line is overighting the first line
print("1")print("\033[3A2") output
2How can I achieve my desired output using other means apart from loop to reverse the order of the print statement
I prefer ansi characters, terminal(), but I will also use other methods