Time Delay Function In Python Geeksforgeeks Numpy