Commit ad180be5 by BellCodeEditor

save project

parent 2106bfcb
Showing with 5 additions and 13 deletions
with open (r"C:\Users\PC\Desktop\123\zhangxiaofan.txt","r",encoding="utf-8") as file:
import turtle for i in file:
pen = turtle.Pen() if "zhangsifan" in i:
screen = turtle.Screen() print("shaixiaohuo")
screen.bgcolor("black") \ No newline at end of file
colors=["light green","blue","violet","cyan"]
pen.speed(100)
for i in range(1,300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
pen.hideturtle()
turtle.done()
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