Is there any way to clear screen in python?
Actually if you want to clear console you can write the "cls" command and press enter
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 👍
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
I used Thonny IDE, it's: "ctrl+L" for Windows "command+L" for macs