Skip to content

Instantly share code, notes, and snippets.

@pejantantangguh
Created November 15, 2017 00:48
Show Gist options
  • Save pejantantangguh/84e2d5b8d64e36e2d5818538f60262bd to your computer and use it in GitHub Desktop.
Save pejantantangguh/84e2d5b8d64e36e2d5818538f60262bd to your computer and use it in GitHub Desktop.
num = int(input("Please enter first number"))
check = int(input("Please enter second number"))
result = check/num
if(result % 4 == 0):
print ( str(result)+ "\nYour number is a number multiple of 4")
elif(result % 2 == 1):
print ( str(result)+ "\nYour result is an odd number")
else:
print ( str(result)+ "\nYour result is an even number")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment