摘要:
li = ['手机','电脑','鼠标垫','游艇']for i in enumerate(li,1): print(i)ret = int(input('请输入商品序列号:'))print(li[ret-1]) 阅读全文
摘要:
li = ['alec',' aric','Alex','Tony','rain']tu = ('alec',' aric','Alex','Tony','rain')dic = { 'k1':'alec', 'k2':' aric', 'k3':'Alex', 'k4':'rain',}for l 阅读全文
摘要:
方法一: 阅读全文