Last Updated on October 10, 2021 by InfraExam
What is the output of the following snippet if the user enters two lines containing 11
and 4
respectively?
x = int(input()) y = int(input()) x = x % y x = x % y y = y % x print(y)
1
4
3
2
Options 1 is the answer