Timers and radication in Python
I basically want to make a better version of the basic calculator from the Python tutorial, but I have 2 problems First, I defined two functions: The first one ask the user if he want to exit or not the program before an operation. If they type "N", the program continue, and if they type "Y", the second function will be executed, that prints "Ending program..." and close the window. What I want to make is something like a timer, that each second prints a dot (".") and before 3 seconds it close the windows, instead of doing it automatically. How it's done? And the second question... I want to add potenciation a radication operations to this basic calculator... Potenciation is quite simple, but I don't know how to make radication. There is a library or something that allows me to do it? Any help is apreciated.