Commit 944c7f64 by BellCodeEditor

save project

parent 95702ac8
Showing with 15 additions and 37 deletions
# N="a"
# P = "q"
# while True:
# n=input("请输入用户名:")
# p=input("请输入密码:")
# if n!=N:
# print("用户不存在")
# if p!=P:
# print("密码错误")
# if n==N and p==P:
# print("登录成功!")
# break
# print("欢迎来到贝尔编程!")
# cl=["red","violet","yellow","orange"]
# import turtle
# s=turtle.Screen()
# pen=turtle.Pen()
# for i in range (1,300):
# pen.forward(i)
# pen.pencolor(cl[i%4])
# pen.right(91)
# s.bgcolor(black)
# pen.hideturtle()
N="a"
P = "q"
while True:
n=input("请输入用户名:")
# turtle.done()
# for i in range(1,10):
# for j in range(1,i+1):
# print(j,'X',i,'=',(i*j),end=(" "))
# print()
br1="关"
br2="刘"
br3="张"
brs=["刘","关","张"]
br1=["关",160,8.5]
br2=["刘",161,9.1]
br3=["张",163,8.3]
brs[0]="关"
brs[1]="刘"
if n!=N:
print("用户不存在")
continue
p=input("请输入密码:")
if p!=P:
print("密码错误")
if n==N and p==P:
print("登录成功!")
break
print("欢迎来到贝尔编程!")
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