I am always using system('cls') in C language before using Dev-C++. Now I am studying Python and using Pycharm 2020.2.3.
I tried to use os.system('cls'). Here is my program:
import os
print("clear screen")
n = int(input(""))
if n == 1:
os.system('cls')
There is no error in my program but it is not clearing the recent output.
This is the output of my program:
What seems to be the problem why it is not clearing the recent output?
