122k views
1 vote
Find the output :

x, y =10, 15
if (x >= y):
z = x + y
else:
z = x -y
z = z ** 2
print “result =“, z

1 Answer

2 votes

Z=x+y

Z=10+15

Z=25

Z=x-y

Z=10-15

Z=-5

User Chemikadze
by
7.6k points