Commit 7cd2a15a by BellCodeEditor

save project

parent ad10cc60
Showing with 12 additions and 11 deletions
# 利用write()帮助悟空给诺依回信吧! # 利用write()帮助悟空给诺依回信吧!
import turtle import turtle
x=turtle.Pen() pen=turtle.Pen()
x.write("!#$%&&*^%$#%@#\n%&&*^(*()**^%*_+_+__\n++-=",font=("times",20,"normal")) pen.write("aaaaaaaaa\nbbbbbbbb\n",font=("times",20,"normal"))
xsize(2) pen.pensize(2)
xcolor("red") pen.color("red")
x.lt(45) pen.lt(45)
x.fd(100) pen.fd(100)
x.circle(50,180) pen.circle(50,180)
x.right(90) pen.right(90)
x.circle(50,180) pen.circle(50,180)
x.fd(100) pen.fd(100)
x.hideturtle() screen=turtle.Screen()
screen.bgcolor("lightblue")
turtle.done() 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