作业
Crazy小海盗
这个作者很懒,什么都没留下…
展开
-
day1作业
1.输入用户名,密码,并且3次失败后结束。 for i in range(1,4,1): user_name=input(“user_name:”) pass_word=input(“pass_word:”) if i3: print(“You have tried to many times.”) elif pass_word"123": print(“Welcome to the new wo...原创 2019-05-07 18:00:48 · 194 阅读 · 0 评论 -
day2笔记
1.浅copy person = [‘zph’,[‘saving’,100]] p1 = person [:] p2 = person [:] p2 [0] = ‘zp’ p1 [1] [1] =50 print (p1) print (p2) 用于共同帐户等方面 2.购物车程序 #Author:zph salary = input(‘输入你的工资=’) commodity = [(‘水杯’,10...原创 2019-08-09 20:01:28 · 136 阅读 · 0 评论