#this is the first method import replit replit.clear() #this is the second method import os os.system('clear')