KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
What is the purpose of the two colons in this Python string-slicing statement?
Asked 2009-06-18T15:14:57.467
▲
13
▼
For example,
str = "hello" str[1::3]
And where can I find this in Python documentation?
python
slice
Copy Link
Twitter
Facebook
LinkedIn
Share
Edit
Save
Report
Add comment
0 Answers
Your Answer
Post Your Answer