Data structure

作者: JaedenKil | 来源:发表于2019-06-18 15:58 被阅读0次
a = [1, 2, 3]
print(type(a))

b = (1, 2, 3)
print(type(b))

c = {1, 2, 3}
print(type(c))

d = {"name": "Jack", "age": 12}
print(type(d))
<class 'list'>
<class 'tuple'>
<class 'set'>
<class 'dict'>

相关文章

网友评论

    本文标题:Data structure

    本文链接:https://www.haomeiwen.com/subject/oewfqctx.html