Commit 27c4f953 by BellCodeEditor

save project

parent 6ad8ff0a
Showing with 18 additions and 0 deletions
import turtle
turtle.pensize(20)
turtle.color('red')
turtle.goto(-50,100)
turtle.clear()
turtle.forward(200)
turtle.right(135)
turtle.color('green')
turtle.forward(280)
turtle.left(135)
turtle.color('blue')
turtle.forward(200)
\ No newline at end of file
file= open(r'C:\Users\CM\Desktop\book.txt','a',encoding='utf-8')
file.write('小强:10本\n')
file.write('李明:10本\n')
file.close()
\ 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