Skip to content

Instantly share code, notes, and snippets.

@CleverProgrammer
Last active October 16, 2016 22:22
Show Gist options
  • Save CleverProgrammer/a8cef0c806e6d0569a7e9dab9536d293 to your computer and use it in GitHub Desktop.
Save CleverProgrammer/a8cef0c806e6d0569a7e9dab9536d293 to your computer and use it in GitHub Desktop.
Write a function add_two ​that takes in two numbers as input and returns their sum.
def add_two(a, b):
return a + b
print(add_two(1, 2)) # --> 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment