os.system('clear'( python code example
Example 1: console clear python
import os
os.system('clear')
Example 2: python cls statement using os module
import os
os.system('cls') # on windows
import os
os.system('clear')
import os
os.system('cls') # on windows