This tutorial shows you how to pause a Python program.
Step 1
First, open Idle and type:
From time import sleep
Step 2
Then, write your program. If you want to pause your program, type:
sleep(a)
(Replace “a” with the number of seconds you want your program to pause for.)
Step 3:
Enjoy!