Skip to content

Commit 5fa5668

Browse files
Merge pull request #2906 from MulkaSandhyaRani/sum-of-prices
calci2.py
2 parents e1f8192 + f2d59ff commit 5fa5668

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

calci2.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
prices = [22.3, 6.66, 9.22]
2+
total = sum(prices)
3+
print(total)

0 commit comments

Comments
 (0)