Commit 52323d8c by BellCodeEditor

auto save

parent 3ad3355d
Showing with 28 additions and 0 deletions
#a=open(r'C:\Users\St-A09\udentDesktop\txt','w',encoding='utf-8')
#a.write('赵紫翔')
#a.write('王梓宁')
#a.write('田耀丹')
#a.close()
with open(r'C:\Users\Student-A09\Desktop\txt,'a',encoding='utf-8') as a:
a.write('赵紫翔是一个\n')
\ No newline at end of file
import turtle
turtle.penup()
turtle.goto(-100,100)
turtle.pendown()
for i in range(4):
turtle.forward(200)
turtle.right(90)
turtle.penup()
turtle.goto(0,0)
turtle.dot(20,"red")
turtle.penup()
turtle.goto(-40,0)
turtle.dot(20,"red")
turtle.penup()
turtle.goto(40,0)
turtle.dot(20,"red")
turtle.hideturtle()
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