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

bellcode / lesson10-4

  • 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
Switch branch/tag
  • lesson10-4
  • diy1.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · b00a62ed
    BellCodeEditor committed 2 years ago
    b00a62ed
diy1.py 283 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

import turtle 
pen=turtle.Pen()
pen=turtle.Screen()
pen.speed(fast)
pen.hideturtle()
screen.bgcolor('black')
i=0
while i<135:
    pen.pencolor('pink')
    pen.penup()
    pen.goto(0,0)
    pen.forward(200)
    pen.pendown()
    pen.circle(100)
    pen.left(2)
    i+=1
turtle.done()