+ 2
string[start: end: step]
Example:
string = "freeCodeCamp" print(string[0:5])
Output: freeC
13th Sep 2019, 4:51 PM
KfirWe
Häufig solche Fragen?
Effizienter lernen, kostenlos:
Heute heiß
How
5 Votes
Most asked 3.0
0 Votes
Print("hello ,world!"[7:13][2])
0 Votes
is python better than JS
0 Votes
Python Module in Sololearn
2 Votes
Problem with hearts
1 Votes