Time Delay Function In Python Example