Answer the question
In order to leave comments, you need to log in
How can I make certain text be deleted in a certain amount of time?
For example
Print('hello')
Time.sleep(1)
And after that the text was deleted
Answer the question
In order to leave comments, you need to log in
use the clear function
import os
def clear():
command=""
if os.name == "posix":
command = "clear"
else:
command="cls"
os.system(command)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question