![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/public/images/logos/logo-white.png)
McqMate
Q. |
>>>m = [[x, x + 1, x + 2] for x in range(0, 3)] |
A. | [[1, 2, 3], [4, 5, 6], [7, 8, 9]] |
B. | [[0, 1, 2], [1, 2, 3], [2, 3, 4]] |
C. | [1, 2, 3, 4, 5, 6, 7, 8, 9] |
D. | [0, 1, 2, 1, 2, 3, 2, 3, 4] |
Answer» B. [[0, 1, 2], [1, 2, 3], [2, 3, 4]] | |
Explanation: execute in the shell to verify. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet