Commit bc3d7f29 by BellCodeEditor

auto save

parent 1bf4da97
Showing with 24 additions and 10 deletions
username = "python" # import turtle
userpassword = "123456" # pen=turtle.Pen()
while True: # screen=turtle.Screen()
name = input("请输入用户名:") # screen.bgcolor('pink')
password = input("请输入密码:") # pen.color('yellow')
if name == username and password == userpassword: # pen.fillcolor('red')
print("登录成功!") # pen.begin_fill()
print("用户名和密码错误!请重新输入") # pen.left(45)
print("欢迎来到贝尔编程!") # pen.fd(100)
\ No newline at end of file # pen.circle(50,180)
# pen.right(90)
# pen.circle(50,180)
# pen.fd(100)
# pen.end_fill()
# pen.penup()
# pen.goto(100,-100)
# pen.write('各同学大家\n中午好,欢迎大家\n来到希德教育',font=('Times',20,'normal'))
# pen.hideturtle()
# turtle.done()
a=10
a=a+b
print(a)
\ 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