>>> {x*2 for x in a|{4,5}}
A. {8,10}
B. {8, 2, 10, 4, 6}
C. {2,4,6}
D. Error, set comprehensions aren’t allowed
Answer:B
>>> {x*2 for x in a|{4,5}}
A. {8,10} B. {8, 2, 10, 4, 6} C. {2,4,6} D. Error, set comprehensions aren’t allowed