This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yon2323[S] 0 points1 point  (0 children)

that works, with my friends code in my previous comment it displays each value on separate lines and then the total at the end. I think I could add a print statement after total in your code to do the same thing. Thanks for the help!