Delete message after it shown

Hi, everyone
I have one question
After printing any message, can it be deleted
For example, you have printed message, then should remove this message
print(input('The number: ')
If types wrong number, so the number should be deleted

There are ways to control the characters shown on the screen.

Maybe this is what you are looking for?

1 Like