Commit 94ae7ba8 by BellCodeEditor

auto save

parent ff4b44fa
Showing with 32 additions and 12 deletions
import turtle
pen=turtle.Pen()
for i in range(4):
pen.forward(200)
pen.right(90)
pen.right(45)
pen.goto(200,-200)
pen.right(135)
pen.forward(200)
pen.goto(200,0)
pen.goto(100,0)
pen.goto(100,-200)
pen.penup()
pen.goto(0,-100)
pen.pendown()
pen.goto(200,-100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
username="python"
userpasswork=".1111122"
name=input("输入你的密码")
passwork=input("输入你的密码")# 如果用户输入的账号、密码正确,提示登陆成功
while True:
if userpasswork==name:
print("登陆成功")
else:
print("登陆失败")
break
print("错误,给我滚")
print("来到编程")
import turtle
pen=turtle.Pen()
pen.circle(100,360)
pen.left(90)
pen.forward(200)
pen.penup()
pen.goto(-100,100)
pen.right(90)
pen.pendown()
pen.forward(200)
pen.hideturtle()
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