Commit 7dd5f1ac by BellCodeEditor

save project

parent 1be92692
Showing with 11 additions and 11 deletions
username="python"
userpassword="123456"
name=input("请输入账号")
password=input("请输入密码")
if name == username and password == userpassword :
print("登陆成功")
else:
print("账号或密码错误")
\ No newline at end of file
import turtle
pen = turtle.Pen()
colors = ["red","yellow"]
for i in range(1,300):
pen.color(colors[i%4])
pen.fd(i)
pen.rt(91)
pen.speed(i)
turtle.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