主页
Python
Python 数据类型
demo_type_dict2
运行 ❯
×
更改方向
保存代码
更改主题
x = dict(name="John", age=36) #display x: print(x) #display the data type of x: print(type(x))
{'name': 'John', 'age': 36}
<class 'dict'>