forked from tdwojak/Python2017
12 lines
226 B
Python
12 lines
226 B
Python
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() |