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

Asked

Viewed 54 times

-1

I’m making a program, and I want every time the value of the variable changes, to appear on the same line and not to create new lines with the same content.

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

  • Would have like you [Dit] the post and give an example of how would be the desired output?

  • ready! added another photo.

1 answer

4

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

import os
os.system('cls');

Browser other questions tagged

You are not signed in. Login or sign up in order to post.