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"
userpassword = "123456"
name = input("请输入用户名:")
password = inpot("请输入密码:")
if name == username and password == userpassword:
print("登陆成功")
\ No newline at end of file
import turtle
s=turtle.Screen()
s.bgcolor("sky blue")
pen=turtle.Pen()
pen.up()
pen.goto(100,-150)
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