Learn Python
WIP Playing with Numbers
9.3
Lesson

WIP - Calculating and Comparing

In the previous chapter, we learned comparison operators. We can merge calculations (addition, subtraction, and so on) with comparison if both LHS and RHS are numbers. In the below example we have done calculations and compared both hand sides to get the result in the form of boolean (true or false)