First off, you are going to need a loop to enter values:
Loops - Learn Python - Free Interactive Python Tutorial[
^] - I'd suggest a
while
loop based on the result of the "Do you want to proceed?" question.
Inside the loop, you add the prices to your collection:
Python - Add List Items[
^]
After the loop, print your items, and the total value. You can either calculate it as you go round your main loop, or use a
for
loop to process each element.
Think about it: it's pretty simple to do (and involves less code that you have at the moment!)
Get the
while
loop working first, then add items to your collection, then work out the total - code, test, fix, test, fix, test, and only move on to the next bit when you have it working.
This may help:
How to Write Code to Solve a Problem, A Beginner's Guide[
^] but nobody here is going to write all the code for you - it's your homework, and you really need to do it for yourself if you are going to learn how to do these things at all!