Q9.What is the output of the following snippet of code? Enter an integer as your answer.
```
x = 15
y = 20
if x != y:
result = abs(x - y)
else:
result = x + y
print(result)
```
Save
Check
Details
Q9
7 Jul 2024
Q9.What is the output of the following snippet of code? Enter an integer as your answer.
```
x = 15
y = 20
if x != y:
result = abs(x - y)
else:
result = x + y
print(result)
```