Commit dbe18eb0 by BellCodeEditor

save project

parent fdb486bd
Showing with 15 additions and 0 deletions
"""
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码)
name=input("账号")
......@@ -6,3 +7,17 @@ password = input("密码")
if username==name and userpassword==password:
print("登入成功")
# 如果用户输入的账号、密码正确,提示登陆成功
"""
while True:
i=0
while True:
if i==10:
break
if i%2==0:
print(str(i)+"这是一个偶数")
else:
print(str(i)+"这是一个奇数")
i+=1
print("跳出里面的while循环")
print("跳出外面的while循环")
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