word1=str(input("What is your first word (or topic state, event, any word with a corresponding 'definition')\n"))
def1=str(input("What is the corresponding definition or word to the first word entered?\n"))
print(word1, def1)
I have this piece of code, as you can tell the finished result will be something of a flashcard study tool, I was just wondering, that since it is flashcards, being able to see the answer 4 lines up would not be the goal since it is flashcards.
Can I run like a clear function to erase all the prints and user input directly in the program?