Computer Science, asked by prarthnanayyar, 8 months ago

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*​

Answers

Answered by hartejpersonal
15

Answer:

1) P= 66

Q= 486

2) X= 10

Y= -8

3) P= 27.5

Q= 607.5

R= 62.5

Explanation:

I have solved in the pictures I have attached

Attachments:
Answered by usharoutela1984
3

Answer: others are giving correct answers keep it up

Explanation:

Similar questions