forked from tdwojak/Python2017
labs04 z1
This commit is contained in:
parent
46b98e20b7
commit
d747ed73a8
@ -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()
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
import task00 as t
|
||||||
|
import sys
|
||||||
|
print(t.suma([3.2,4.5]))
|
||||||
|
print(sys.argv)
|
Loading…
Reference in New Issue
Block a user