7. What are the values of the following expressions, assuming that p is 17 and q is 18?


#1

i. p // 10 + p % 10
ii. p % 2 + q % 2
iii. (p + q) // 2
iv. (p + q) / 2.0


#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.