Commit 1be85205 by BellCodeEditor

save project

parent a8d02629
Showing with 27 additions and 0 deletions
new_data=""
with open(r'C:\Users\Administrator\Desktop\text.txt','r',encoding='utf-8') as file:
for i in file:
if '小强'in i:
i=i.replace('11','1000000000000000000000000000')
new_data = new_data + i
with open(r'C:\Users\Administrator\Desktop\text.txt','w',encoding='utf-8') as file1:
file1.write(new_data)
\ 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