Python Project: Completed

Piece together all components to produce the final application.

Review of the chapter

In this chapter, we covered the following:

  • The comparison operators can be used to compare values (compare user_answer to correct_answer for equality, in our case). 

  • The need for if, elif, and else to perform an action only when certain condition(s) are met.

  • The convenience that the while loops bring when performing repetitive tasks.

Cheat sheet

Get hands-on with 1200+ tech skills courses.