Skip to content

Instantly share code, notes, and snippets.

@LiamJolly
Created February 5, 2017 09:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LiamJolly/c7da68e653c72acc042e6bf0dfb947e1 to your computer and use it in GitHub Desktop.
Save LiamJolly/c7da68e653c72acc042e6bf0dfb947e1 to your computer and use it in GitHub Desktop.
Simple calc
def add(num1, num2):
return num1 + num2
def subtract(num1, num2):
return num1 - num2
def multiply(num1, num2):
return num1 * num2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment