Commit 875a939a by BellCodeEditor

auto save

parent c1d4f9c0
Showing with 27 additions and 7 deletions
import turtle
pen=turtle.Pen()
pen.pencolor("yellw")
for i in range
pen.forward()
\ No newline at end of file
username = "python" import turtle
userpassword = "123456" s=turtle.Screen()
name = input("请输入用户名:") s.bgcolor("sky blue")
password = inpot("请输入密码:") pen=turtle.Pen()
if name == username and password == userpassword: pen.up()
print("登陆成功") pen.goto(100,-150)
\ No newline at end of file pen.write("诺依,\n我是创造师\n你好呀",font=("Time",20,"normal"))
pen.hideturtle()
a=turtle.Pen()
a.pencolor("red")
a.pensize(5)
m=s.textinput("提示","多大啊")
l=int(m)
a.left(45)
a.forward(2*l)
a.circle(l,180)
a.right(90)
a.circle(l,180)
a.forward(2*l)
a.hideturtle()
turtle.done()
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