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

Administrator / lesson7_6

  • 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 9c3f9ef3 authored 10 months ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 71896c7e
Hide whitespace changes
Inline Side-by-side
Showing with 7 additions and 7 deletions
  • 1.py
1.py
View file @ 9c3f9ef3
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor(color)
pen=turtle.Pen() pen=turtle.Pen()
colors=["red"] colors=["red","orange","yellow","green"]
distance=1 i=0
for i in range(300): while True:
pen.forward(distance) pen.forward(i)
pen.pencolor(colors[i%4])
i=i+4
pen.right(91) pen.right(91)
distance+=1
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