+ 2
can someone please tell me what will come in this blank . I have tried everything .
[ ] grade [ ] grades: if grade <= 50: [ ] print(grade) the lesson name is Mixing Things Up: Loops and Lists I thought I know this part so I clicked on the too easy? jump here button then I did all the questions but at the last I got stuck on this question to do this question I tried everything I even asked google and chatgpt but it said the same thing that I have already tried
4 Respostas
+ 8
Can you plz tell us the lesson name or give us proper information.
+ 7
The first two blanks are self-evident. Since you know it is a for loop, just fill in standard syntax.
The third blank depends on the task requirements. I suppose that is where you are stuck. Please tell us, what is expected to happen when grade is at or below 50?
+ 2
as you wanted I have given all the information and please help me
+ 2
Got it👍
for grade in grades:
if grade <= 50:
continue
print(grade)
This code will output all the values in grades list greater than 50.