Created
March 4, 2017 20:13
-
-
Save KennethanCeyer/6d6ba68b76354398f770b1e0adc0b8e2 to your computer and use it in GitHub Desktop.
Python module definition
This file contains hidden or 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
from math import sum | |
print(sum(1, 2)) |
This file contains hidden or 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 sum(*args): | |
total = 0 | |
for item in args: | |
total += item | |
return total |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment