Lesson goal: Asking questions: true or false (with variables)

Previous: Introduction | Home | Next: Compound true/false questions

In the last lesson, you saw how to directly compare two numbers, and see if a comparison was true or false.

In this lesson, we'll further explore this comparison, but instead of literal numbers, see how variables and even full mathematical expressions can be included in comparison questions---all with true or false answers.

Now you try. Using print, try displaying the true or false answers to the bullet-list questions, using the pre-defined variables in the code.

Type your code here:

See your results here: