Commit 74f85051 by BellCodeEditor

save project

parent fc66c8a7
Showing with 6 additions and 2 deletions
#导入模块 #导入模块
import turtle import turtle
#设置背景
screen=turtle.Screen()
screen.bgcolor("light blue")
#创建画笔 #创建画笔
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(80,-80)
#写字 #写字
pen=turtle.Pen() pen.write("Hi,诺依~\n祝你生日快乐\n——悟空 ",font=("Times",18,"normal"))
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——悟空 ",font=("Times",18,"normal"))
pen.hideturtle() pen.hideturtle()
#画爱心 #画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
......
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