Skip to content Skip to sidebar Skip to footer

The Code Returns Syntax Error In Nested "if Score In Scores:" Statement

The nested if statement below is causing a syntax error and I can not see why. scores = [] choice = None while choice != 0: print( ''' High Scores 0 - Exit

Solution 1:

You need to close the int() parentheses on the line above.

score =int(input("What score do you want to be removed?:"))

Post a Comment for "The Code Returns Syntax Error In Nested "if Score In Scores:" Statement"