12 lines
171 B
Python
12 lines
171 B
Python
#!/usr/bin/env python2
|
|
# -*- coding: utf-8 -*-
|
|
|
|
def suma(liczby):
|
|
return sum(liczby)
|
|
|
|
def main():
|
|
print(suma([1, 2, 3, 4]))
|
|
|
|
if __name__ == "__main__":
|
|
main()
|