Answers for "how to create a loop for multiple players turn"

0

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
Posted by: Guest on April-17-2020

Code answers related to "how to create a loop for multiple players turn"

Python Answers by Framework

Browse Popular Code Answers by Language