Given the following assignments: i1 = 2 i2 = 5 i3 = -3 d1 = 2.0 d2 = 5.0 d3 = -0.5 Evaluate each of the following Python expressions. (a) i1 + (i2 * i3) (b) i1 * (i2 + i3) (c) i1 / (i2 + i3) (d) i1 //...


Given the following assignments:


i1 = 2


i2 = 5


i3 = -3


d1 = 2.0


d2 = 5.0


d3 = -0.5


Evaluate each of the following Python expressions.


(a) i1 + (i2 * i3)


(b) i1 * (i2 + i3)


(c) i1 / (i2 + i3)


(d) i1 // (i2 + i3)


(e) i1 / i2 + i3


(f) i1 // i2 + i3


   (g) 3 + 4 + 5 / 3


(h) 3 + 4 + 5 // 3


(i) (3 + 4 + 5) / 3


(j) (3 + 4 + 5) // 3


(k) d1 + (d2 * d3)


(l) d1 + d2 * d3


(m) d1 / d2 - d3


(n) d1 / (d2 - d3)


(o) d1 + d2 + d3 / 3


(p) (d1 + d2 + d3) / 3


(q) d1 + d2 + (d3 / 3)


(r) 3 * (d1 + d2) * (d1 - d3)

Nov 17, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here