摘要:
count=0 while True: print('count:',count) count+=1 # count=count+1 if count==500: break#结束整个循环 阅读全文
posted @ 2018-01-03 09:09
耐烦不急
阅读(132)
评论(0)
推荐(0)
摘要:
_username='qi' _password='abc123' username=input("username:") password=input('password:') if _username==username and _password==password: print("welcome user {name}...".format(name=username)) els... 阅读全文
posted @ 2018-01-03 09:08
耐烦不急
阅读(201)
评论(0)
推荐(0)
摘要:
#1、python2中raw_input与python3中的input是相同的,python2中也有input但是别用(不好用,忘记它) #密码是明文的 username=input("username:") password=input('password:') print(username,password) #2、密码变成密文 import getpass username=input(... 阅读全文
posted @ 2018-01-03 09:07
耐烦不急
阅读(330)
评论(0)
推荐(0)

浙公网安备 33010602011771号