def bot(cordinates): time.sleep(5) # looping through the length of the array # dividing by 2 because there are x and y in each pair for length in r