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