#申明names = ['jack','tom','lucy','superman','ironman']computer_brands = []#地址print(id(names))print(id(computer_brands))#元素获取:下标 索引print(names[0])#获取最有一个元素print(names[-1])# for i in names:# # print(i)# if i == 'superman':# print.
python
2023-08-28
43 点赞
0 评论
65 浏览