Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def minOne(x,y):
if x%10<y%10:
return x
elif (x%10)==(y%10):
return 'Both are Equal'
else:
return y
print(minOne(85,16))
print(minOne(89,79))
print(minOne(67,55))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment