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

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

save project

parent 654bc3ba
Show whitespace changes
Inline Side-by-side
Showing with 71 additions and 0 deletions
  • aaa.py
  • abc.py
  • diy1.py
  • iii.py
  • jump.py
aaa.py 0 → 100644
View file @ 97cebc52
import turtle
pen=turtle.Pen()
pen.circle(50)
pen.circle(50,360,3)
pen.circle(50,60)
pen.circle(50,360,3)
turtle.done()
This diff is collapsed. Click to expand it.
abc.py 0 → 100644
View file @ 97cebc52
import turtle
pen=turtle.Pen()
pen.speed(1)
pen.left(45)
pen.circle(50,180)
pen.goto(0,0)
pen.right(90)
pen.circle(-50,180)
pen.goto(0,0)
turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy1.py 0 → 100644
View file @ 97cebc52
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen1=turtle.Pen()
pen.penup()
pen.goto(-100,200)
pen.pendown()
pen.fillcolor("red")
pen.pencolor("purple")
pen.pensize(5)
pen.begin_fill()
pen.left(45)
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
pen.end_fill()
pen1.write("你好\n诺伊.",font=("Times",30,"normal"))
pen.hideturtle()
pen1.hideturtle()
turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
iii.py 0 → 100644
View file @ 97cebc52
user="python"
password="123456"
while True:
user1=input("user name:")
password1=input("password:")
if(user1=="python"and password1=="123456"):
print("success!")
break
if user1!=user:
print("用户名错误")
if password1!=password:
print("密码错误!")
This diff is collapsed. Click to expand it.
jump.py 0 → 100644
View file @ 97cebc52
import turtle
pen=turtle.Pen()
pen.left(45)
pen.fd(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.fd(100)
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