A. State the results of the following expressions. B. State the output of each of the following expression, if each expression is independent. Assume the value of X as 4. PRO G RAMMING...

A. State the results of the following expressions.













B. State the output of each of the following expression, if each expression is independent. Assume the value of X as 4.


PRO

G


RAMMING ASSINMENTS


C. Values assigned to different variables are


A = 10


B = 20


C = 40


D = 4


E = 5


Evaluate each of the following Python expression.


(i) (A + B) * C


(ii) A + (B - E)


(iii) A*B/E


(iv) C/B//5


(v) C+(A*E)/(B-A)


D. Convert the following expressions into their shortest form.


E. Find the output of each expression given below if Python executes each expression separately.


Initially the value of X = 4



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here