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

Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :
Aujourd'hui en vedette
Started learning python
0 Votes
Websites for frontend developers
1 Votes
Discrete mathematics (python)
0 Votes
Computador
0 Votes
I need help in programing
0 Votes
C++, c# , graphical interface
1 Votes