Learn Python
Number
4.4 - Ex 1
Exercise

Calculating and comparing numbers

Calculate and print the result of each statement in separate lines.

Statement 1: Expression-01 is greater than Expression-02:

Expression-01 Expression-02
25+35+55+45 2.5+350+5.5+450

Statement 2: Expression-01 is equal to Expression-02:

Expression-01 Expression-02
20 * 10 * 5 300/2

Statement 3: Expression-01 is less than or equal to Expression-02:

Expression-01 Expression-02
100-10-20-30 2 * 4 * 5