Output: Sets, map, Generators
Interview insights are lockedSee how often this is asked and which companies asked it with Buncho Pro.What is the output of each snippet?
a = {1, 2, 3}; b = {3, 4, 5}
print(a | b); print(a & b); print(a - b)
print(list(map(lambda x: x * 2, [1, 2, 3])))
x = [1, 2, 3]
y = (i * 2 i x)
((y)); ((y))