0

string = "freeCodeCamp" print(string[::2])

This substring or not

31st Aug 2020, 9:38 AM
Kodeesh Warar
Kodeesh Warar - avatar
1 Réponse
+ 2
Yes. Slicing creates a substring.
31st Aug 2020, 9:45 AM
Roy
Roy - avatar