Skip to content

Instantly share code, notes, and snippets.

@Michaelgathara
Created January 26, 2021 02:43
Show Gist options
  • Save Michaelgathara/63daca1e6a3227d34a54af39bd8d78da to your computer and use it in GitHub Desktop.
Save Michaelgathara/63daca1e6a3227d34a54af39bd8d78da to your computer and use it in GitHub Desktop.
Find remainder from user input
num1 = int(input("Enter your Dividend number: "))
num2 = int(input("Enter you Divisor number: "))
num3 = 0
def findRemainder(first, second):
return first%second
print(findRemainder(num1, num2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment