Commit 953c4c75 by BellCodeEditor

save project

parent 543aaaff
Showing with 29 additions and 11 deletions
name=input("你叫什么名字?")
print(name+"你好吗")
\ No newline at end of file
def a():
w=[]
while True:
e=input("输入价格")
if e=="q":
break
else:
w.append(e)
print(w)
a()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(0,-200)
pen.pendown()
pen.circle(200)
pen.penup()
pen.goto(-100,50)
pen.pendown()
pen.fillcolor("red")
pen.begin_fill()
pen.circle(20)
pen.end_fill()
pen.penup()
pen.fd(200)
pen.pendown()
pen.fillcolor("green")
pen.begin_fill()
pen.circle(20)
pen.end_fill()
pen.penup()
pen.goto(0,50)
pen.pendown()
pen.circle(-50,steps=3)
pen.penup()
turtle.done()
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