Commit 70475513 by BellCodeEditor

auto save

parent 024fb164
Showing with 36 additions and 9 deletions
total = []
while True:
unit= input("请输入:")
if unit== 'q':
break
else:
total.append(unit)
print(total)
\ No newline at end of file
# k = input("请输入正方形的边长。")
# k = int(k)
# while True:
# if k = 0 or k<0:
# print("数字要大于0呦。")
# else:
# print("输入成功")
# break
# q=k*4
# w=k*k
# print("周长是:"q)
# print("面积是:"w)
# 5
# bianliang="Hallo world"
# dizhi=id(bianliang)
# print(dizhi)
# d=5
# import turtle
# iwd=turtle.Pen
# iwd.pencolour("pink")
# iwd.left(105)
# for i in range(d):
# iwd.circle(75,90)
# iwd.left(90)
# iwd.circle(75,90)
# iwd.left(60)
# iwd.down()
# iwd.hideturtle()
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