Commit 81225d8a by BellCodeEditor

auto save

parent c66a449e
Showing with 28 additions and 0 deletions
with open(r"C:\Users\mk\Desktop\1\1.txt","r",encoding="utf-8")as h:
k=h.read()
for i in k:
if "哇" in k:
b=k.replace("哇","w")
print(b)
with open(r"C:\Users\mk\Desktop\1\1.txt","w",encoding="utf-8")as h:
h.write(b)
#print(k)
\ No newline at end of file
import turtle
import turtle
t=turtle.Pen()
t.write("Hello\nHello\nHello",font=("华文楷体",30,"normal"))
t.left(45)
t.forward(100)
t.circle(50,180)
t.right(90)
t.circle(50,180)
t.forward(100)
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