What will be the output of the following Python code? s=set([1, 2, 3])print(s.union([4, 5]))print(s|([4, 5])) ( )
选项:
A: {1, 2, 3, 4, 5} {1, 2, 3, 4, 5}
B: Error {1, 2, 3, 4, 5}
C: {1, 2, 3, 4, 5} Error
D: Error Error
发布时间:2024-05-21 11:39:36