Commit 8b3916c8 by BellCodeEditor

save project

parent dc22b1a3
Showing with 24 additions and 0 deletions
with open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8') as file:
for i in file:
if "小强"in i:
print("滚!")
else:
print("你自己找吧!")
\ No newline at end of file
import random
import turtle
star = turtle.Pen()
star.speed(0)
star.pencolor("red")
star.fillcolor("red")
star.begin_fill()
for i in range(36):
star.forward(200)
star.right(170)
star.end_fill()
star.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