Difference between revisions of "Coursera - Python Data Structures"

From MyWiki
Jump to: navigation, search
(Created page with "'''String slicing :''' a[start:end] # items start through end-1<br> a[start:] # items start through the rest of the array<br> a[:end] # items from the beginning throug...")
(No difference)

Revision as of 16:59, 19 November 2015

String slicing : a[start:end] # items start through end-1
a[start:] # items start through the rest of the array
a[:end] # items from the beginning through end-1
a[:] # a copy of the whole array