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

Administrator / lesson7_1

  • 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 0d00bacd authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent 8e2583b7
Show whitespace changes
Inline Side-by-side
Showing with 12 additions and 10 deletions
  • diy1.py
diy1.py
View file @ 0d00bacd
import random import turtle
pen=turtle.Pen()
key="雷锋变成了女郎世界的繁华人精神境界夫人然后就多好多好" screen=turtle.Screen()
message="诺伊,周末一起去看动漫展吧!" screen.bgcolor("black")
abc=" " colors=["green","red","orange","yellow"]
for i in message: for i in range(1,300):
str1=i pen.pencolor(colors[i%4])
str2=random.choice(key) pen.forward(i)
str3=rand pen.right(91)
\ No newline at end of file pen.hideturtle()
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