2019年4月23日

摘要: a = 66 count = 1 while count <=3 : b = int(input("猜测这个数字:")) if b < a: print("猜测的结果小了小了.") if b > a: print("猜测的结果大了大了.") if b == a: print("你猜对了.") bre 阅读全文

posted @ 2019-04-23 19:17 S-skill 阅读(87) 评论(0) 推荐(0) 编辑

摘要: 1.用户登录 count = 1 while count <= 3: username = input("请输入你的用户名;") password = input("请输入你的密码:") if username == "张三" and password == "123": print("登录成功") break else: ... 阅读全文

posted @ 2019-04-23 15:09 S-skill 阅读(220) 评论(0) 推荐(0) 编辑


Copyright © 2024 S-skill
Powered by .NET 8.0 on Kubernetes