+ 2
string[start: end: step] Example: string = "freeCodeCamp" print(string[0:5]) Output: freeC
13th Sep 2019, 4:51 PM
KfirWe
KfirWe - avatar