Computer Science, asked by Crystall91, 8 months ago

[python]

Q1)predict the output of the following:
p,q = 3,5
q,r = p-2,p+2
print(p,q,r)

Answers

Answered by anishasa
3

Answer:

In 1st step p q value is 3 and 5

In 2nd step q occupies the value 1

Answer 3 1 5

Answered by vamanmadhavan10
7

answer : final output=3,1,5

Explanation:

p,q=3,5

q,r=3-2,3+2

so q=1 and r=5

Similar questions