Learn1 of 3
Combining Everything
Now you know print, variables, input, and if/else β the four building blocks of programming! A quiz program combines all of them: ask a question with input(), store the answer in a variable, use if/else to check if it is correct, and print() the result. You can chain multiple questions together for a full quiz game!