Commit 8723af7e by BellCodeEditor

save project

parent 71d1cccf
Showing with 7 additions and 20 deletions
# 利用write()帮助悟空给诺依回信吧~ X="QAQ"
import turtle Y="555555"
Pen=turtle.Pen() xxx=input("输入帐号:")
Pen.penup() yyy=input("输入密码:")
Pen.goto(100,-100) if X==xxx and Y==yyy:
Pen.write("诺依,tutle真好用,我会在画布上写字了",font=("Times",15,"normal")) print("登录成功!")
# turtle.done() \ No newline at end of file
pen1=turtle.Pen()
# pen1.circle(50)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
s=turtle.Screen()
s.bgcolor("light blue")
turtle.done()
\ 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