0

code is wrong.what can i do?

Complete the code to iterate through the grades list and display only values greater than 50 for grade in grades: if grade <= 50: print(grade)

24th Sep 2024, 8:58 AM
SATYA REVATHI MANDA
SATYA REVATHI MANDA - avatar
2 Answers
+ 2
please tag the relevant programming language. I think it should be python, but if so, then re-check the previous lessons. look after the correct syntax
24th Sep 2024, 9:28 AM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 2
the other problem: greater than 50. your code searches less than or equal to 50
24th Sep 2024, 9:31 AM
Mihaly Nyilas
Mihaly Nyilas - avatar