Home / MCQ Bank / Computer
Computer Tuples In Python

What will be the output of the following Python code? >>> import collections >>> a=collections.namedtuple('a',['i','j']) >>> obj=a(i=4,j=7) >>> obj

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • a(i=4, j=7)

Related Computer Questions

For converting string to array we can use ______ method. In Java, can a subclass override a static method from its superclass? DVD Stands For:__________? What is the role of the Spinbox widget in Tkinter? In C++, what is the syntax for the 'while' loop?