2018年4月10日

摘要: product_list=[ ['Iphone',5800], ['Mac',9800], ['Bike',800], ['Watch',10600], ['Book',58] ] shopping_list=[] salary=input("你的工资是:") if salary.isdigit():... 阅读全文
posted @ 2018-04-10 17:32 muziyi 阅读(93) 评论(0) 推荐(0) 编辑
 
摘要: name=["张艺兴","吴亦凡","黄景瑜","朴海镇","朴灿烈"]print(name[4])print(name[0:2])print(name[-1])print(name[-3:-1])print(name[-3:]) >>> for i in name: print(i)print(n 阅读全文
posted @ 2018-04-10 17:29 muziyi 阅读(136) 评论(0) 推荐(0) 编辑