I am writing a program in Python and I want to replace more than one line in the console with the new text. For example, if I have 3 sentences printed in the console:
print ("Hello World!") Print ("How are you!") Print (" What's happening? ")
Where each is on a separate row (and it is such as \ n
)
How do I change this text when it is displayed in the console? I can not do \ r
in this situation due to \ n
.
No comments:
Post a Comment