Why does this code work for me in QPython3 and not here? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does this code work for me in QPython3 and not here?

This code is part of an application that I uploaded to convert temperatures. This code is to put the text in certain coordinates, but it does not work here. print("\033[8;26;f"+"CONVERSOR DE") print("\033[9;27;f"+"TEMPERATURA")

9th Jan 2020, 6:30 PM
Cesar70
Cesar70 - avatar
1 Answer
+ 1
You need to replace \ with a \\ so python will not think it's a part of code instead a part of text.
10th May 2020, 2:31 PM
Antonio 👑
Antonio 👑 - avatar