diff --git a/diy2.py b/diy2.py index afdf699..f75b470 100644 --- a/diy2.py +++ b/diy2.py @@ -1,6 +1,6 @@ -score = {'语文':91,'数学':88,'英语':85} - -# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来 -for q,w in score.items(): - print(q,w) - +username = "zhangjialiang" +usermima = "123456" +name=input("输入你的用户名:") +mima=input("输入你的密码:") +if name==username and mima==usermima: + print("登陆正确") \ No newline at end of file