#------------ add n numbers in a range ------------#

prices = [10, 20, 30]
total = 0

for price in prices:
    total += price
print(f"total is : {total} ")

cd8147ac0636709540a7e26996487eaa911fd4c4
<mask token>

<mask token>
for price in prices:
    total += price
print(f'total is : {total} ')

prices = [10, 20, 30]
total = 0
for price in prices:
    total += price
print(f'total is : {total} ')

#------------ add n numbers in a range ------------#

prices = [10, 20, 30]
total = 0

for price in prices:
    total += price
print(f"total is : {total} ")
