+ 4
Is there any way to clear screen in python?
7 Respuestas
+ 3
Actually if you want to clear console you can write the "cls" command and press enter
+ 3
I use on ubuntu
So if you use 'clear' the terminal clears
On jupiter you can delete cell or rerun it
Also try ctrl + l
Try geek for geeks as given in previous comment
Good luck 👍
+ 2
If you're running the code in the console-out mode in an IDE, then use this:
from os import system
system("cls")
# Hope this helps
0
Ctrl+I
0
I used Thonny IDE, it's:
"ctrl+L" for Windows
"command+L" for macs