Quiz: Write Pythonic and Clean Code With namedtuple
Interactive Quiz ⋅ 11 QuestionsBy Martin Breuss In this quiz, you’ll test your understanding of Python’s namedtuple(). By working through this quiz, you’ll revisit how to create namedtuple classes, identify and take advantage of the cool features of namedtuple, use namedtuple instances to write Pythonic code, and decide when to use a namedtuple over a similar data structure. The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end […]
Read more