Source Code:
(back to article)
my_string = "Hello, World!" print(my_string[:5:2]) # Output: "Hlo"
Result:
Report an issue