time.,sleep python code example Example: wait function python import time #Waits 1 second time.sleep(1)