1.

(a, b = 12, 13c, b = a*2, a/2print (a, b, c)​

Answer»

Answer:

12  6  24

Explanation:

SINCE you wrote print(a,B,c)

in second line we SEE that  c and b are doing operations on a ( ignore b=13 because b is replaced by a/2 in the second line )

so a is always going to be 13 .

while c= a*2 so a=12

this implies that c=12*2=24.

whereas b=a/2 so a=12

this implies that b=12/2 = 6.

and so print (a,b,c) gives

12 6 24



Discussion

No Comment Found