Created
March 27, 2014 19:10
-
-
Save AbstractBeliefs/9815643 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def adds_10(initialValue): | |
return initialValue + 10 | |
if __name__ == "__main__": | |
while True: | |
print adds_10(input("> ")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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