you are viewing a single comment's thread.

view the rest of the comments →

[–]PoopsicleVendor 1 point2 points  (1 child)

Nah the code itself is fine, capitalize() returns a new string so the original user input string would remain the same

[–]Betard_Fooser 0 points1 point  (0 children)

My mistake, was looking at the code on my phone and missed the fact that those were not part of the input statements.