McqMate
| Q. |
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 |
| Answer» B. list of tuples | |
| Explanation: the variable a has tuples enclosed in a list making it a list of tuples. | |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet