# Introduction In this challenge, we will implement a simple named tuple class in Python. A named tuple is a data structure similar to a tuple, but with the ability to access elements using both positional indexing and assigned names. We will create a `NamedTuple` class that accepts an iterable of data and their corresponding names, and supports both positional indexing and attribute access. The repr output of the `NamedTuple` class should be in the format "NamedTuple(x=1, y=2)". This challenge aims to test your understanding of tuples, class inheritance, and immutable data types.
Click the virtual machine below to start practicing