forked from tdwojak/Python2017
commited tasks
This commit is contained in:
parent
976044eb47
commit
128c5bbadf
@ -7,5 +7,5 @@ def isNumeric(x):
|
||||
return False
|
||||
return True
|
||||
|
||||
print(isNumeric([1,4,4.8,4]))
|
||||
print(isNumeric([1,4,4.8,1]))
|
||||
|
||||
|
@ -2,10 +2,10 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
def suma(liczby):
|
||||
pass
|
||||
return sum(liczby)
|
||||
|
||||
def main():
|
||||
print(summa([1, 2, 3, 4]))
|
||||
print(suma([1, 2, 3, 4]))
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python2
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import task00
|
||||
import sys
|
||||
|
||||
|
||||
def main():
|
||||
print(sys.argv)
|
||||
|
||||
task00.suma()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
Loading…
Reference in New Issue
Block a user