CodeField

Make a choice

Task 1 of 6

Predict the output

What does this program print? Choose an answer and how sure you are, then seal it.

What does it print?
  1. mark = 52
  2. if mark >= 50:
  3. print("C")
  4. if mark >= 45:
  5. print("D")
  6. if mark >= 40:
  7. print("E")
How sure?

You can't change a sealed answer.

Tips

  • Read the lines from the top, one at a time, as Python does.
  • Seal it when you have chosen an answer and how sure you are.