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

bellcode / lesson3-5-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 8cdcfe63 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 84192a21
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 11 deletions
  • uy.py
uy.py
View file @ 8cdcfe63
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
len=screen.textinput("标题"," ")
lovesize=int(len)
pen=turtle.Pen() pen=turtle.Pen()
screen=turtle.Screen()
pen.left(45) size1=screen.textinput("标题"," ")
pen.forward(lovesize) size=int(size1)
pen.circle(lovesize,180) pen.circle(size)
pen.right(90) pen.circle(size,360,3)
pen.circle(lovesize,180) pen.circle(size,60)
pen.forward(lovesize) pen.circle(size,360,3)
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