1
0
forked from tdwojak/Python2017
Python2017/labs05/task00.py

12 lines
171 B
Python
Raw Normal View History

2017-12-16 06:52:54 +01:00
#!/usr/bin/env python2
# -*- coding: utf-8 -*-
def suma(liczby):
2017-12-16 12:24:57 +01:00
return sum(liczby)
2017-12-16 06:52:54 +01:00
def main():
2017-12-16 12:24:57 +01:00
print(suma([1, 2, 3, 4]))
2017-12-16 06:52:54 +01:00
if __name__ == "__main__":
main()