hasPerfectScore = False for i in range(len(score)): if score[i] == 100: hasPerfectScore = True break