Commit 107229df by BellCodeEditor

save project

parent 0bf48ea2
Showing with 24 additions and 0 deletions
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
#file1=open(r'C:\Users\Administrator\Desktop','w',encoding='utf-8')
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("同学们,新年快乐",font=("Times",20,"normal"))
pen.hideturtle()
#turtle.done()   
pen1=turtle.Pen()
pen1.pensize(9)
pen1.pencolor("black")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
screen=turtle.Screen()
screen.bgcolor("green")
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