Computer Science
How will Python evaluate the following expression ?
20 - 30 + 40
Python Funda
18 Likes
Answer
20 - 30 + 40
⇒ -10 + 40
⇒ 30
Answered By
12 Likes
Related Questions
From the following, find out which assignment statement will produce an error. State reason(s) too.
(a) x = 55
(b) y = 037
(c) z = 0o98
(d) 56thnumber = 3300
(e) length = 450.17
(f) !Taylor = 'Instant'
(g) this variable = 87.E02
(h) float = .17E - 03
(i) FLOAT = 0.17E - 03How will Python evaluate the following expression ?
20 + 30 * 40
How will Python evaluate the following expression ?
(20 + 30) * 40
How will Python evaluate the following expression ?
15.0 / 4 + (8 + 3.0)