Computer Science, asked by joankim610, 5 months ago

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 parthu2011
2

Answer:

if you are pleased with answer in turn

please subscribe my youtube chanel(Ramakrishna Nallangari youtube channel) for my effort

search for nallangari in google and find ramakrishna nallnagari and then click it and subscribe

Explanation:

Solutions

a. 2+2 < 4 – false

b. 7//3 ==1 + 1, true

c. 3**2 + 4**2 == 25, true

d. 2+4+6 > 12, false

e. 1387%19 ==0, true

Similar questions