Commit ad180be5 by BellCodeEditor

save project

parent 2106bfcb
Showing with 5 additions and 13 deletions
import turtle
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("black")
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()
with open (r"C:\Users\PC\Desktop\123\zhangxiaofan.txt","r",encoding="utf-8") as file:
for i in file:
if "zhangsifan" in i:
print("shaixiaohuo")
\ 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