Commit e81573dc by BellCodeEditor

save project

parent c9c947d5
Showing with 12 additions and 11 deletions
username="python" import turtle
userpassword="123456" pen=turtle.Pen()
screen=turtle.Screen()
name=input("请输入账号") screen.bgcolor("blank")
password=input("请输入密码") color["red","yellow","green","orange"]
for i in range(1,300):
if name=username and password==userpassword: pen.bgcolor(i%4)
print("登陆") pen.forward(i)
pen.right(91)
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