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

12 lines
226 B
Python
Raw Normal View History

2018-01-26 14:43:35 +01:00
import task00, sys
def main():
def a_to_f(a):
try:
return float(a)
except:
return 0
print('%f' % (task00.suma(map(a_to_f, sys.argv[1:]))))
if __name__ == '__main__':
main()