Commit c4adac7d by BellCodeEditor

save project

parent a11fda6f
Showing with 12 additions and 11 deletions
import turtle
pen=turtle.Pen()
pen.write("你好",front=("Times",20,"normal"))
turtle.done()
\ No newline at end of file
import pygame import turtle
from pygame import locals pen=turtle.Pen()
pygame.init() pen.write("你好",font=("Times",20,"normal"))
screen=pygame.display.set_mode((660,660)) turtle.done()
while True: \ No newline at end of file
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle.Pen() pen=turtle.Pen()
# pen.write("你好呀",font=("Times",100,"normal")) pen.write("你好呀",font=("Times",100,"normal"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
......
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