set([]) 和set(b) 有什么区别
b = ['Alice', 'Bob', 'Candy', 'David', 'Ellena']
sum = set(b)
print(b)
d = set(['Alice', 'Bob', 'Candy', 'David', 'Ellena'])
print(d)
b = ['Alice', 'Bob', 'Candy', 'David', 'Ellena']
sum = set(b)
print(b)
d = set(['Alice', 'Bob', 'Candy', 'David', 'Ellena'])
print(d)
2021-05-29
举报