A problem with removing printed things is console while the programm is working

Viewed 18

I have to code a python program with "while True" that has some operations, and a main menu,( this menu is in while loop and is printed and printed, I mean after each operation it should be printed). And those operations,I should say they are some works about a class and objects that user chooses one of them and it would run.Buty questions is how can I code in such a way that when each one of operations do its work, those things that were printed for that just remove and the menu print again, and then when the user chooses the operation, the menu be removed and so on.

The note is I'm just a beginner student so I need it so simple and easily. I will appreciate if you code and explain as much easy as you can.

[Sorry for any mistake, I'm not English speaker]

0 Answers
Related