Skip to content

Instantly share code, notes, and snippets.

@computer-tutor
Created April 27, 2020 04:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save computer-tutor/9c843322fce9ec3cdd045fec4549f434 to your computer and use it in GitHub Desktop.
Save computer-tutor/9c843322fce9ec3cdd045fec4549f434 to your computer and use it in GitHub Desktop.
x,y =map(int,input("Enter Two numbers:").split())
#map() is used to make the variable an int
if(x%y)==0:
print('First number is divisible by second')
else:
print('First number is not divisible by second')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment