Borden
Thursday, 19 September 2013
Python string slice step?
Python string slice step?
I want to convert python codes to java. But I do not understand slicing
step parameter.
Example:
x = "Hello World !"
x[6:2:-1]
And what is the result x[6:2:-1] ?
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment