python
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| python [2022/09/25 11:37] – utedass | python [2022/12/05 16:26] (current) – utedass | ||
|---|---|---|---|
| Line 30: | Line 30: | ||
| populated_tuple = (1, 2, " | populated_tuple = (1, 2, " | ||
| singleton_tuple = (3,) | singleton_tuple = (3,) | ||
| + | print(populated_tuple[2]) # Prints Kalle | ||
| # Ranges are also immutable | # Ranges are also immutable | ||
| Line 103: | Line 104: | ||
| - | ====== | + | ====== |
| <code python> | <code python> | ||
python.1664105865.txt.gz · Last modified: 2022/09/25 11:37 by utedass
