123456789101112 |
- student_scores = [20, 32] #input("Input a list of student scores: ").split()
- for n in range(0, len(student_scores)):
- student_scores[n] = int(student_scores[n])
- highest_score = 0
- for score in student_scores:
- if score > highest_score:
- highest_score = score
- print("The highest score in the class is: " + str(highest_score))
|