Skip to content

Commit 5d8e110

Browse files
committed
Named tuple
1 parent d9f36c4 commit 5d8e110

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ for i, el in enumerate(<collection> [, i_start]):
151151

152152
Named Tuple
153153
-----------
154+
* **Tuple is an immutable and hashable list.**
155+
* **Named tuple is a subclass of tuple with named elements.**
156+
154157
```python
155158
>>> from collections import namedtuple
156159
>>> Point = namedtuple('Point', 'x y')

0 commit comments

Comments
 (0)