from replit import clear code example
Example: how to clear console in repl.it python
#this is the first method
import replit
replit.clear()
#this is the second method
import os
os.system('clear')
#this is the first method
import replit
replit.clear()
#this is the second method
import os
os.system('clear')