how to explain the reverse of a sequence by slice notation a[::-1] – stackoverflow.com

from python.org tutorial Slice indices have useful defaults; an omitted first index defaults to zero, an omitted second index defaults to the size of the string being sliced. >>> a = "...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "how to explain the reverse of a sequence by slice notation a[::-1] – stackoverflow.com"