0

help me to solve

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

14th Jun 2024, 2:29 AM
ShanmukaSailu
ShanmukaSailu - avatar
2 odpowiedzi
+ 1
Well, it looks like you’re actually trying, but that isn’t how if statements or for loops work. You should go back and do those lessons again. Specifically, you seem to have replaced the “for”, “in”, and “if” keywords with newlines?
14th Jun 2024, 3:52 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
0
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) Check 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, 4:50 AM
SHAIK ASHRAF HUSSAIN