Computer Science, asked by sounthariya1011999, 3 months ago

which of the following is used to get named entries into tuple in python​

Answers

Answered by mannattjaiswal6
0

Answer:

To create a named tuple, import the namedtuple class from the collections module. The constructor takes the name of the named tuple (which is what type() will report), and a string containing the fields names, separated by whitespace

Answered by princu01
0

Answer:

To create a named tuple, import the namedtuple class from the collections module. The constructor takes the name of the named tuple (which is what type() will report), and a string containing the fields names, separated by whitespace. It returns a new namedtuple class for the specified fields.

Explanation:

hope it's helpful

Similar questions