Could someone please explain to me how to use this?

Advanced Tip! When slicing until the end of the string, instead of providing len(new_word), you can also not supply the second index:


that is easy, we can just omit the stop value of list/string slicing, then python automatically goes to end of string/list.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.