Вот пример кода:
Код: Выделить всё
a=0
print("Random string value")
if a==0:
print_to_previous_line("is random")
Код: Выделить всё
Random string value is random
Подробнее здесь: https://stackoverflow.com/questions/266 ... vious-line
Код: Выделить всё
a=0
print("Random string value")
if a==0:
print_to_previous_line("is random")
Код: Выделить всё
Random string value is random