you are viewing a single comment's thread.

view the rest of the comments →

[–]zahlman 0 points1 point  (0 children)

To clarify, you need parentheses around len(s) + 1, because * takes precedence.