Commit a32bcba3 by BellCodeEditor

save project

parent c35fc885
Showing with 8 additions and 26 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle as t
screen=t.Screen()
screen.bgcolor("pink")
t.penup()
t.goto(100,-300)
t.write("你好呀\n再见",font=("Times",40,"normal"))
len=int(screen.textinput("提示","输入半径大小:"))
t.penup()
t.goto(0,0)
t.pendown()
t.pensize(10)
t.pencolor("red")
t.left(45)
t.forward(len*2)
t.circle(len,180)
t.right(90)
t.circle(len,180)
t.forward(len*2)
t.hideturtle()
t.done()
h="py"
j="088679"
k=input("输入账号:")
l=input("输入密码:")
if k=='py' and l=='088679':
print("正确!")
else:
print("错误")
......
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