MCQOPTIONS
Saved Bookmarks
| 1. |
The output of the code shown below is: odd=lambda x: bool(x%2) numbers=[n for n in range(10)] print(numbers) n=list() for i in numbers: if odd(i): continue else: break |
| A. | [0, 2, 4, 6, 8, 10] |
| B. | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] |
| C. | [1, 3, 5, 7, 9] |
| D. | Error |
| Answer» C. [1, 3, 5, 7, 9] | |