Commit 68c14fe3 by BellCodeEditor

auto save

parent 5c9b87bd
Showing with 28 additions and 0 deletions
username="python"
userpassword="123456"
name=input("请输入你的用户名:")
password=input("请输入你的密码:")
if username==name and userpassword==password:
print("登录成功")
breck
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("black")
colors=["red","orange","yellow","green"]
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
import turtle
pen=turtle.Pen()
for i in range(1,300):
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