Skip to content

Instantly share code, notes, and snippets.

@computer-tutor
Created April 28, 2020 05:53
Show Gist options
  • Save computer-tutor/cdeb3b4757b40ef0a2837d862e855d62 to your computer and use it in GitHub Desktop.
Save computer-tutor/cdeb3b4757b40ef0a2837d862e855d62 to your computer and use it in GitHub Desktop.
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