MCQOPTIONS
Saved Bookmarks
| 1. |
Read the information given below carefully and write a list comprehension such that the output is: [‘e’, ‘o’] |
| A. | [x for w in v if x in v] |
| B. | [x for x in w if x in v] |
| C. | [x for x in v if w in v] |
| D. | [x for v in w for x in w]View Answer |
| Answer» C. [x for x in v if w in v] | |