Commit 08ba37af by BellCodeEditor

auto save

parent ebfe3fdf
Showing with 19 additions and 15 deletions
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
try:
unit=int(unit)
except:
print("beuiibhiwhvinhnibhinnyniniybqnooyborqb")
else:
total.append(unit)
print("-"*30)
print(total)
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.penup()
pen.goto(100,100)
pen.pendown()
pen.setheading(180)
for i in range (4):
pen.forward(200)
pen.right(90)
pen.forward(100)
pen.right(45)
pen.fillcolor('red')
pen.begin_fill()
for i in range (4):
pen.forward(140)
pen.right(90)
pen.end_fill()
turtle.down()
\ 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