Commit 823a8ccc by BellCodeEditor

save project

parent 5f8f5085
Showing with 47 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.hideturtle()
pen.pensize(21)
pen.pencolor("pink")
pen.fillcolor("pink")
pen.begin_fill()
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.end_fill()
pen.forward(100)
pen.penup()
pen.goto(-16,70)
pen.pencolor("red")
pen.pendown()
pen.circle(20)
turtle.done()
\ No newline at end of file
username="daqiao"
userpassword=123456
while True:
name=input("请输入用户名:")
password=input("请输入密码:")
if name==username and password==userpassword:
print("登入成功")
break
if name !=username:
print("请重新输入用户名")
continue
if password !=username:
print("请重新输入密码")
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