Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Active reading. [(its = possessive, it's = "it is" or "it has". See for example <http://www.wikihow.com/Use-Its-and-It%27s>.)]
Source Link
Peter Mortensen

You've got it right there except for "end". ItsIt's called slice notation. YourYour example should read.:

new_sub_string = myString[2:]

If you leave out the second paramparameter it is implicitly the end of the string.

You've got it right there except for "end". Its called slice notation. Your example should read.

new_sub_string = myString[2:]

If you leave out the second param it is implicitly the end of the string.

You've got it right there except for "end". It's called slice notation. Your example should read:

new_sub_string = myString[2:]

If you leave out the second parameter it is implicitly the end of the string.

Source Link
bouvard

You've got it right there except for "end". Its called slice notation. Your example should read.

new_sub_string = myString[2:]

If you leave out the second param it is implicitly the end of the string.

lang-py