Created
June 5, 2018 16:36
-
-
Save bcuz/830111d35a10d7e129b30c6b6f625330 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
varA=input() | |
varB=input() | |
if (type(varA) == str) or (type(varB) == str): | |
print( "string involved") | |
# else: | |
try: | |
varA=int(varA) | |
varB=int(varB) | |
if varA>varB: | |
print ("bigger") | |
elif varA< varB: | |
print ("smaller") | |
else: | |
print ("equal") | |
except ValueError: | |
print ("not possible") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment