Commit 2273e275 by BellCodeEditor

save project

parent 026aa8a3
Showing with 6 additions and 30 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
i=3
# 请用input()实现用户输入账号、密码的功能
while True:
if i>0:
b=input("请输入账号:")
if b!=username:
i=i-1
print("用户名错误,重新输入")
continue
a=input("请输入密码:")
if a!=userpassword:
i=i-1
print("密码错误,重新输入")
continue
else:
input("账号已被锁定,请来鸡屁公司,购买鸡屁噶包5元一个,可带给亲人享受极品鸡屁,点赞三连解锁")
exit()
# 如果用户输入的账号、密码正确,提示登陆成功
if b==username and a==userpassword:
print("登陆成功")
break
print("欢迎来到碑额世界")
\ No newline at end of file
N=int(input())
M=int(input())
for i in range(M,N+1):
if i%7==0 and i%5==1:
print(i,end=",")
\ 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