num = 0 num_of_plyrs = 4 count = 0 stop = False while not stop: if count == 4: stop = True if num != num_of_plyrs: num += 1 count += 1 print("It's Player {0}'s".format(num)) elif num == num_of_plyrs: num = 0