Analyse the following Python code and choose its correct output from the given options.
def comF(x, y):
if x > y:
sm = y
else:
sm = x
for i in range(1, sm+1):
if((x % i == 0) and (y % i == 0)):
cf = i
return cf
num1 = 84
num2 = 64
print(comF(num1, num2))
Correct Answer:
4
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Python MCQ Questions