w3schools
编辑器
运行结果尺寸:
625 x 591
x = {"apple", "banana", "cherry"} #display x: print(x) #display the data type of x: print(type(x))
x
x = {"apple", "banana", "cherry"}
#display x:
print(x)
#display the data type of x:
print(type(x))
{'cherry', 'apple', 'banana'}
<class 'set'>