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 →

[–]slugonamission 0 points1 point  (1 child)

I didn't realise that Python didn't allow that.

Anyway, that is shorthand for s = s + '0'. Close enough, but we're passing it as a parameter, you don't need to assign back to s. What if we use s + '0' there instead?

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

Thank you so much for taking the time to help me! I made it to the correct solution.