Sleep()
Sleep() is a useful little command, it pauses the execution of the program for a period of time - effectively it pauses the program - it is a bit like wait in scratch.
To use it you need to import the time module.
- import time
- time.sleep(2)
This would pause the program for 2 seconds.