摘要:
列表中的index,extend,count方法 first_black_index: 3second_black_index: 1second_black_index_in_big_list: 5second_black_value is: black[1, 2, 3, 4, 5, 6]3 ['m 阅读全文
摘要:
#_author:Administrator#date:2019/10/24#列表List#增删改查#增 *1 切片a=['xiaowwang','xiaohuang','xiaozhang','xiaodu','aming']print(a[4]) #amingprint(a[1:]) #['xi 阅读全文
摘要:
please input your username:aplease input your password:ayour username or password is Errorplease input your username:aplease input your password:ayour 阅读全文
摘要:
登录操作(方法二:for与else搭配) please input your username:aaaplease input your password:ayour username or password is Errorplease input your username:aplease in 阅读全文
摘要:
登录操作(方法一:设置flag标志位) please input your username:qweplease input your password:222your username or password is Errorplease input your username:starpleas 阅读全文
摘要:
Name:Mr.starAge:22Job:Python engenerSalary:12000 info of Mr.star Name:Mr.starAge:22Job:Python engenerSalary:12000you will be retired in 43 years 阅读全文
摘要:
print("*" *8)for a in range(1,9): print(a,end="")#1-9的奇数print()for a in range(1,10,2): print(a,end="")#1-100的和print()sum=0for a in range(1,101): sum+= 阅读全文