Commit 58cb1556 by BellCodeEditor

save project

parent 3f7bf638
Showing with 7 additions and 23 deletions
username = "python"
userpassword = "123456"
import turtle
screen=turtle.Screen()
screen.bgcolor("blue")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("你好\n诺依",font=("Times",30,"normal"))
pen1.hideturtle()
pen=turtle.Pen()
pen.right(-45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
turtle.done()
name = input("请输入用户名")
password = input("请输入密码")
if username==name and userpassword==password
input("登陆成功")
\ 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