Error – input expected at most 1 argument, got 3

A simple (and correct!) way to write what you want:

score = int(input('Please enter your score for test ' + str(y) + ': '))

Leave a Comment