Commit b6a0a4a5 by BellCodeEditor

save project

parent 8598cf6a
Showing with 10 additions and 6 deletions
with open(r"C:\Users\XMBC\Desktop\text.txt","r",encoding="utf-8") as se: import turtle
p = se.read() turtle.bgcolor("black")
for a in p: turtle.speed(0)
if '小兰:12本' in a: colors = ["red","orange","yellow","green"]
print("在里面") for i in range(1,300):
\ No newline at end of file turtle.forward(i)
turtle.pencolor(colors[i%4])
turtle.right(91)
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