Translate the following statements into Python Boolean expressions and evaluate
them:
(a) The sum of 2 and 2 is less than 4.
(b) The value of 7 // 3 is equal to 1 + 1.
(c) The sum of 3 squared and 4 squared is equal to 25.
(d) The sum of 2, 4, and 6 is greater than 12.
(e) 1387 is divisible by 19.
(f) 31 is even. (Hint: what does the remainder when you divide by 2 tell you?)
(g) The lowest price among $34.99, $29.95, and $31.50 is less than $30.00.
Answers
Answered by
0
Explanation:
The sum of 2 and 2 is less than 4 b. the value of 7//3 is equal to 1 + 1 c. the sum of 3 squared and 4 squared is equal to 25 d. the sum of 2,4, ...
Similar questions