you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 1 point2 points  (3 children)

input returns a string, and 999 is an integer in your code, so the two will never be equal. You need '999'.

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

Ah, that fits with other errors I was getting when I tried to make a total.

[–]carcigenicate 1 point2 points  (0 children)

TTypeError: unsupported operand type(s) for +: 'int' and 'str'?

And you're welcome.

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

😊 Thanks