How do i fix the print code to give me the grades for 100 students instead of the 100th student
04:13 14 Mar 2026
for i in range(1, 101):
    score = random.randint(1, 100)
    print(f"Student {i}: {score}")
if score >= 80:
    grade = "A"
elif score >= 60:
     grade = "B"   
elif score  >= 50: 
     grade = "C"
elif score >= 30:
     grade = "D"
else:
     grade = "E"

print(f"Student {i}: {score} {grade}")

How do i fix it

python