Sleep

import time

print('One')
print('Waiting for 3 seconds')
time.sleep(3)
print('Two')
One
Waiting for 3 seconds
Two