Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson3-1-1_DIY1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 3dd877a1 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 6579331c
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 6 deletions
  • diy1.py
diy1.py
View file @ 3dd877a1
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.pensize(5)
pen.ieft(180) p
pen.pencolor("red")
pen.left(45)
pen.forward(100) pen.forward(100)
pen.ieft()
pen.forward(100)
pen.left(90)
pen.circle(50,180) pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.write("2020年,\n数百名物理学家死于非命;\n中国专家汪淼的眼中也出现倒计时,\n随后发现一款游戏中一个在三日下煎熬\n的“灾难星球”竟真实存在,\n那里的“三体文明”\n400年后即将达到地球;\n一场未来的浩劫摆在人类面前……",font=("Times",20,"normal")) pen.write("2020年,\n数百名物理学家死于非命;\n中国专家汪淼的眼中也出现倒计时,\n随后发现一款游戏中一个在三日下煎熬\n的“灾难星球”竟真实存在,\n那里的“三体文明”\n400年后即将达到地球;\n一场未来的浩劫摆在人类面前……",font=("Times",20,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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