Computer Science, asked by mjedhva9883, 7 months ago

p = 10 q = 20 p * = q // 3 q + = p + q ** 2 print(p,q)

Answers

Answered by djalokajjubhai1437
14

Give outputof the following block of statements

1)P=10

Q=20

P*=Q//3

Q+=P+Q**2

print (P, Q)

2)X=8

Y=2

X+=Y

Y- =X

print(X,Y)

3) P=5/2

Q=P*4

R=P+Q

P+=P+Q+R

R+=P+Q+R

Q- =P+Q*R

print (P, Q, R)

4) p=5%2

q=p**q

r=p//q

p+=p+q+r

r+=p+q+r

q-=p+q*r

print (p,q,r)

*will follow you if you answer of the questions correctly*

Answered by yurwish
23

Explanation:

I know the answer of question no 1)

1 ) p=60

q=430

Similar questions