Created
April 28, 2020 05:53
-
-
Save computer-tutor/cdeb3b4757b40ef0a2837d862e855d62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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