McqMate
Q. |
Suppose list1 = [0.5 * x for x in range(0, 4)], list1 is: |
A. | [0, 1, 2, 3] |
B. | [0, 1, 2, 3, 4] |
C. | [0.0, 0.5, 1.0, 1.5] |
D. | [0.0, 0.5, 1.0, 1.5, 2.0] |
Answer» C. [0.0, 0.5, 1.0, 1.5] | |
Explanation: execute in the shell to verify. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet