#So to time wait You have to import time import time print("hello") time.sleep(1) #This Will stop the code and Display bye after 1 second. print("Bye")