Ask coding questions
i don't no how to clear py consolei want create windows os
to clear console, just do
To stop newline from appearing after you clear, use
#on linux or macos.system(‘clear’)
@widz The other answer is easier, as doing that would involve more lines of code:
if platform.system().lower() == "windows":
Whereas you could just use one print statement as @firefish stated in the other answer.