Удалить текст на питоне через 1 секунду
print("hello")
print("this line will be deleted in 2 Seconds")
time.sleep(2)
delete_last_line()
#if you want time you need to import time! (Search it up)
Crowded Chamois