InterviewSolution
Saved Bookmarks
| 1. |
What will be the result of the following Python code? S = [x**2 for x in range(5)]print(S)(a) [0, 1, 2, 4, 5] (b) [0, 1, 4, 9, 16](c) [0, 1, 4, 9, 16, 25](d) [1, 4, 9, 16, 25] |
|
Answer» (b) [0, 1, 4, 9, 16] |
|