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