Question: Which of the following assignments are valid? If an assignment is not valid, state the reason. a) numl = 35 b) newNum = numl
Which of the following assignments are valid? If an assignment is not valid, state the reason. a) numl = 35 b) newNum = numl num2 c) numl = 5, num2 2 + numl, num1 = num2/3 d) num1 * num2 newNum e) x = 12 * num1 - 15.3 f) num1 * 2 = newNum + num2 g) x/y = x * y h) num2 = numl % 2.0 i) newNum int(x) % 5 j) x=x + y- 5 k) newNum = numl + int(4.6/2) %3D
Step by Step Solution
3.40 Rating (153 Votes )
There are 3 Steps involved in it
Solutton Q num 1 35 VALID 35 VALID b newNum num1 num2 YAU C num... View full answer
Get step-by-step solutions from verified subject matter experts
