Commit e0bf6f2f by BellCodeEditor

save project

parent 0d868d48
Showing with 19 additions and 3 deletions
w="666"
a="1359"
s=5
while s>=0:
w1=input("用户名")
a1=input("密码")
if w1==w and a1==a:
print("登录成功")
break
if w1!=w:
print("名字错误")
if a1!=a:
print("密码错误")
s=s-1
# 请注释掉上面的代码,并在下一行创建一个名为dict_hero的字典
dict_hero={'猴三':10,'猴一':21,'猴五':22,'猴队长':29,'猴七':30}
print(dict_hero)
print("欢迎您")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment