I wrote the following program:
numb= ["First", "Second", "Third"]
players=[]
n = ''
score=[]
for i in numb:
print("Type the score of the name of the", i, "player:")
answer = n = str(input(' '))
players.append(d)
for a in players:
for b in numb:
a = int(input("Type the", b, "score of", a))
if a!=0:
score.append(a)
else:
I want to avoid advancing the inner loop for b in numb:
as long as a is 0.
For example: if the first score is 0, the program will print again "Type the first score...".