Commit fa2fb164 by BellCodeEditor

save project

parent 2483684b
Showing with 7 additions and 56 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
len=screen.textinput("小可","太帅了对吧")
len=int(len)
pen=turtle.Pen()
pen.write("\我有意见.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
turtle.done()
\ No newline at end of file
import turtle
pen=turtle.Pen
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
pen.forward(200)
pen.circle(100,180)
pen.right(90)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~ usernme="python"
import turtle userpassword="123456"
screen=turtle.Screen() 1=input("请输入账号:")
screen.bgcolor("light blue") 2=input("请输入密码:")
len=screen.textinput("100","100") if 1==usernme and 2==userpassword
len=int(len) print("登录成功")
pen=turtle.Pen() \ No newline at end of file
pen.write("\SB.",font=("Times",30,"normal"))
pen.hideturtle()
len=60
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
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