sj_dde

导航

 

2021年9月5日

摘要: 也许我真的有程序员天赋 # __author:"AMARA" # date:2021/9/5 14:30 s = int(input('your salary>>')) print(''' 1.iphone 12 6500元 2.switch 2200元 3.coffee 35元 4.book 60 阅读全文
posted @ 2021-09-05 18:35 sj_dde 阅读(112) 评论(0) 推荐(0)
 
摘要: For循环: idname = 'a' password = '1' i=0 for i in range (3): id1 = input('input your id name>>') pass1 = input('input your password>>') if id1 == idname 阅读全文
posted @ 2021-09-05 14:20 sj_dde 阅读(156) 评论(0) 推荐(0)
 
摘要: a=['a','b','c','d','e'] # 查找 # a.count #次数 # a.index #位置 # 'xxx' in a # 增加 # a.append() #追加 # a.insert(index,'xxx') #插入 # a.extend #扩展(2表合一) # 修改 # a[ 阅读全文
posted @ 2021-09-05 14:01 sj_dde 阅读(25) 评论(0) 推荐(0)