Question 21

What determines which lines of code are executed when the condition is true in a Python if statement?
  • Question 22

    Fix the missing return statement in this function that should return whether a number is even.
    def is_even(number):
    if number % 2 == 0:
    True
    else:
    False

    Question 23

    What must a developer do to run Python code written in a text editor?