What type of data is: a=[(1,1),(2,4),(3,9)]?
(a) Array of tuples
(b) List of tuples
(c) Tuples of lists
(d) Invalid type
(a) Array of tuples
(b) List of tuples
(c) Tuples of lists
(d) Invalid type
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Correct option is (b) List of tuples
Explanation: The variable a has tuples enclosed in a list making it a list of tuples.