yabs.io

Yet Another Bookmarks Service

Search

Results

[https://hackthedeveloper.com/python-namedtuple-syntax-function/] - - public:dshekhar17
Python - 1 | id:376132 -

A namedtuple in python is a subclass of tuples. The named tuple has the same functionalities as a normal tuple, but its values can be accessed both by name (using dot notation eg: .name) as well as by position (offset notation eg: [0]).

Follow Tags


Export:

JSONXMLRSS