Commit f1802e75 by BellCodeEditor

save project

parent ae7e987c
Showing with 42 additions and 4 deletions
import turtle
w=input("你需要什么颜色")
pen = turtle.Pen()
def five(bc):
pen.fillcolor(w)
pen.begin_fill()
for i in range(5):
pen.pendown()
pen.pencolor(w)
pen.forward(bc)
pen.left(72)
pen.forward(bc)
pen.right(144)
pen.penup()
pen.end_fill()
five(50)
turtle.done()
\ No newline at end of file
# 我们都爱夸夸夸
name = input("你是谁?")
print(name+"你好")
a = input("我觉得你在逗我")
print(a+"太好了终于知道了")
import turtle
bc = 10
def df():
name = input("你是谁?")
print(name+"你好")
a = input("我觉得你在逗我")
print(a+"太好了终于知道了")
def five(bc):
for i in range(5):
pen.pendown()
pen.pencolor("yellow")
pen.fillcolor("yellow")
pen.begin_fill()
pen.forward(bc)
pen.left(72)
pen.forward(bc)
pen.right(144)
pen.end_fill()
pen.penup()
five(50)
\ No newline at end of file
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