Put in order · Python course · Module 2: Data Structures
Set Operations
Arrange the steps in order:
Items to put in order
- print(common)
- b = {2, 3, 4}
- a = {1, 2, 3}
- common = a & b
Show the answer
Correct order:
- a = {1, 2, 3}
- b = {2, 3, 4}
- common = a & b
- print(common)