1>>> total = 02>>> for n in [5.99, 12.99, 20.99, 129.99]:
3 total += n
4print('Total is now', total)
56Total is now 5.997Total is now 18.988Total is now 39.979Total is now 169.9610>>> total
11169.9612
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content