costs=[159,20.99,13.21,67]

print('---Costs in this month---')
print(costs)
print(f'Number of costs: {len(costs)}')
print(f'Sum of costs: {sum(costs):.2f}')
print(f'Minimum of costs: {min(costs)}')
print(f'Maximum of costs: {max(costs)}')

SUM = 0
for c in costs:
    print(f'Curent sum: {SUM:.2f}')
    SUM += c
print(f'Manual calculated sum:{SUM:.2f}')










