Commit e9214f2c by BellCodeEditor

auto save

parent 30c83ece
Showing with 24 additions and 6 deletions
......@@ -7,8 +7,26 @@ while True:
print("登录成功!")
break
if name!=username:
print("用户输入错误!")
print("用户不存在,请重新输入!")
continue
if password!=userpassword:
print("用户密码错误!")
print("欢迎来到贝尔编程!")
\ No newline at end of file
print("密码错误,请重新输入!")
continue
print("欢迎来到贝尔编程!")
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,0)
pen.write("欢迎登录\n到python!",font=("Times",20,"normal"))
pen.goto(0,0)
pen.pendown()
pen.pencolor("red")
pen.pensize(10)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
\ No newline at end of file
import turtle
p=turtle.Pen()
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