Python Basics: Conditional Logic and Control Flow Quiz

Interactive Quiz ⋅ 12 Questions
By Kate Finegan

In Python Basics: Conditional Logic and Control Flow, you learned how to use conditional logic to write programs that perform different actions based on different conditions.

In this quiz you, can test your knowledge of how to:

  • Compare the values of two or more variables
  • Write if statements to control the flow of your programs
  • Handle errors with try and except
  • Apply conditional logic to create simulations

Then, you can move on to other Python Basics courses

The quiz contains 12 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!