Question 9 - Week 2 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 2
Question 9
00:00
Est. 1 min
Marks:
+3.00
0.00
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) ```
Integer answer
Easy Difficulty
07 July 2024
Your answer