Archive:Python/Operators: Difference between revisions
wikademia>ArrowStomper |
wikademia>ArrowStomper |
||
| Line 121: | Line 121: | ||
''' '147' ''' | ''' '147' ''' | ||
You may also just use the step indice. | |||
Type: | |||
>>>'''x[::3]''' | |||
''''0369'''' | |||
You can do this to find every other element or whatever your needs require. | |||
== | == | ||