Python Project: Completed
Piece together all components to produce the final application.
We'll cover the following
Review of the chapter
In this chapter, we covered the following:
The comparison operators can be used to compare values (compare
user_answer
tocorrect_answer
for equality, in our case).The need for
if
,elif
, andelse
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 1400+ tech skills courses.