a = [float(input()) for _ in range(5)]
b = sum([abs(x) for x in a])
print(b)
Обработку ошибок не делал.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
a = [float(input()) for _ in range(5)]
b = sum([abs(x) for x in a])
print(b)
Обработку ошибок не делал.