Skip to content

Instantly share code, notes, and snippets.

@AbstractBeliefs
Created March 27, 2014 19:10
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 AbstractBeliefs/9815643 to your computer and use it in GitHub Desktop.
Save AbstractBeliefs/9815643 to your computer and use it in GitHub Desktop.
def adds_10(initialValue):
return initialValue + 10
if __name__ == "__main__":
while True:
print adds_10(input("> "))
import adder
nums = [1,2,3]
for num in nums:
print adds_10(num)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment