What is the correct way to create a set in Python?
A. set = {1, 2, 3, 4}
B. {1, 2, 3, 4}
C. set[1, 2, 3, 4]
D. (1, 2, 3, 4) Answer
Answer:B
What is the correct way to create a set in Python?
A. set = {1, 2, 3, 4} B. {1, 2, 3, 4} C. set[1, 2, 3, 4] D. (1, 2, 3, 4) Answer