Commit 53d34c08 by BellCodeEditor

save project

parent 3305bc69
Showing with 9 additions and 23 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
pen.fillcolor("red")
pen.penup()
pen.goto(0,-100)
pen.write("你好呀",font=("Times",20,"normal"))
pen.goto(0,0)
pen.pendown()
pen.begin_fill()
a=screen.textinput("提示","你想要多大?")
a=int(a)
screen.bgcolor("green")
pen.left(45)
pen.forward(a*2)
pen.circle(a,180)
pen.right(90)
pen.circle(a,180)
pen.forward(a*2)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
a="abc"
b="123"
c=input("名字:")
d=input("密码:")
if a==c and b==d:
print("正常")
else:
print("错误")
\ 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