Skip to content

Instantly share code, notes, and snippets.

@bcuz
Created June 5, 2018 16:21
Show Gist options
  • Save bcuz/2d2db34b965c686ce0b74d443ecb3b7b to your computer and use it in GitHub Desktop.
Save bcuz/2d2db34b965c686ce0b74d443ecb3b7b to your computer and use it in GitHub Desktop.
varA=input()
varB=input()
if (type(varA) == str) or (type(varB) == str):
print( "string involved")
varA=int(varA)
varB=int(varB)
if type(varA) and type(varB) == int:
if varA>varB:
print ("bigger")
elif varA< varB:
print ("smaller")
else:
print ("equal")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment