user77239
0
Q:

how to create a loop for multiple players turn

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
0

New to Communities?

Join the community