_username = "ArthurLando"
_password = "ahym12345"
username = input("username:")
for i in range(3):
password = input("password:")
if password == _password:
print("Welcome"+username+"!")
break
else:
print("Invlid username or password!")
else:
print("You have tried too many times,fuck off...")
第一周作业:密码登录
猜你喜欢
转载自www.cnblogs.com/Gwollf/p/11515325.html
今日推荐
周排行