1
0
forked from tdwojak/Python2017

labs04 z1

This commit is contained in:
s45148 2017-12-16 12:24:57 +01:00
parent 46b98e20b7
commit d747ed73a8
2 changed files with 6 additions and 2 deletions

View File

@ -2,10 +2,10 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
def suma(liczby): def suma(liczby):
pass return sum(liczby)
def main(): def main():
print(summa([1, 2, 3, 4])) print(suma([1, 2, 3, 4]))
if __name__ == "__main__": if __name__ == "__main__":
main() main()

View File

@ -0,0 +1,4 @@
import task00 as t
import sys
print(t.suma([3.2,4.5]))
print(sys.argv)