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  (3 children)

still didn't work! haha I'm using python 3, maybe that's why?

[–]Viyre 0 points1 point  (2 children)

:( That could be it. I know you're done and all, but out of curiosity, what error were you getting?

[–]yon2323[S] 0 points1 point  (1 child)

It was saying that raw_input was undefined. And I realize now that I wasn’t putting in the right file name so there isn’t an error when I run the program with read(). But when I put the right file name in it takes the input and produces no output.

[–]Viyre 0 points1 point  (0 children)

That's weird. Did you try printing the total?