Reading Lists and Tuples
Reading methods of lists and tuples are same when read using the index and slice based index method.
Source Code
|
|
Run Output
Notes
- Watch for reverse slicing trick [::-1] carefully. Here default values of start, stop do not apply like positive side reading.
Suggested Filename(s): reading-list-tuple.py
Created: 29-Sep-2026 16:58 | Updated: 1-Oct-2026 14:28|
