How do you do that Pls help
ez
first, define this little function:
import os def clear(): os.system("clear")
so now, all you have to do is call the function if you want to clear it, for example:
import time print("Hello,") time.sleep(1) clear() print("World!")
How do you clear text you print in python
How do you do that Pls help
ez
first, define this little function:
so now, all you have to do is call the function if you want to clear it, for example: