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:
p = se.read()
for a in p:
if '小兰:12本' in a:
print("在里面")
\ No newline at end of file
import turtle
turtle.bgcolor("black")
turtle.speed(0)
colors = ["red","orange","yellow","green"]
for i in range(1,300):
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