90.0k views
3 votes
What is the output of this program?

grades = [89, 70, 98, 100, 83]

print(grades[-4])

Group of answer choices

89

100

70

98

User Psykeron
by
4.8k points

1 Answer

4 votes

Answer:

70 is the answer negative one begins from 83 and count down to 89, Therefore, 70 is is -4 and is chosen as the best answer

User Vmorph
by
5.0k points