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

bellcode / lesson2-5_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 2437d76e authored 2 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 13be041e c200650l760p219a8057/wx274403
Show whitespace changes
Inline Side-by-side
Showing with 4 additions and 18 deletions
  • diy.py/diy1.py
diy.py/diy1.py
View file @ 2437d76e
import turtle
screen=turtle.Screen()
screen._bgcolor(red)
pen=turtle.Pen()
pen.penup()
pen.goto(0,-100)
pen.write("大家好\n我是成娅乐\n我来自涟水,我喜欢画画",font=("Times",30,"normal"))
pen.pensize(5)
pen.pencolor("red")
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.hideturtle()
turtle.done()
\ No newline at end of file
j=5
i=7
print(j,'*'i'='(j*i))
\ 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