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)
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?
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)