How do I write information on the same line without creating a new one?

-1

I'm doing a program, and I want every time the value of the variable changes, it appears on the same line and not that I create new lines with the same content.

    
asked by anonymous 02.03.2018 / 17:38

1 answer

4

Clean the screen and recreate what is in it, this is one of the possible solutions

import os
os.system('cls');
    
02.03.2018 / 17:45