The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
A named tuple is exactly like a normal tuple, except that the fields can also be accessed by .fieldname. Named tuples are still immutable, elements are still indexes by integers, and they can be iterated on. (accelebrate.com/blog/named-tuples-in-python#:~:text=A%20n...)
Which one is a subclass of tuple with field names and a class name?— The Python Quiz (@thepythonquiz) October 3, 2020
collections.withfieldstuple#python #python3 #pythonprogramming #learnpython
Question difficulty: 🔵🔵🔵🔵🔵