134k views
2 votes
Write the output of the following command:

x=8
y=2
x+=y
y-=x
print(x,y)

User Campfire
by
7.4k points

1 Answer

5 votes

Answer:

Hey, I am Rati. This output are 10 and -8

User Paulitto
by
9.1k points