For the time module (input time) you can use the function time.sleep(x) to freeze the program allowing you to click off atom/terminal, where x is the number of seconds you want it to freeze.
Example:
input time
time.sleep(1)
print("Example")
Program waits 1 second then prints "Example" onto the terminal window.