Let's assume there is a code which is using with anaconda prompt. While the program flowing, every second is printing to screen. However, here every second is printed the same or next line. I want to print every second in the same place. For example, print 30 and after 1 second later, delete 30 and print 29 to the same place.
How can I do that with python?