标签:python 数组 字典
list
#!/usr/bin/env python #encoding:utf-8 classmates = [‘Michael‘, ‘Bob‘, ‘Tracy‘] classmate=[‘01‘,‘02‘,‘03‘] print(classmate[0]) print(len(classmate))
dic
#!/usr/bin/env python #encoding:utf-8 a={‘xaioming‘:80,‘lili‘:90,‘kk‘:101} print(a[‘lili‘]) ~
本文出自 “砖家博客” 博客,请务必保留此出处http://wsxxsl.blog.51cto.com/9085838/1835099
标签:python 数组 字典
原文地址:http://wsxxsl.blog.51cto.com/9085838/1835099