What is function of this line?


#1

Continuing the discussion from Censor-solved:



https://www.codecademy.com/en/courses/python-intermediate-en-rCQKw/1/4?curriculum_id=4f89dab3d788890003000096#


[quote="cssjumper93664, post:1, topic:59435"]
sliced = new[1:]
[/quote]



Replace this line with your code.


#2

the censored string has an additional space at the beginning of the sentence, string slicing is used here to get rid of this additional space


#3

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