Commit 70475513 by BellCodeEditor

auto save

parent 024fb164
Showing with 36 additions and 9 deletions
total = [] # k = input("请输入正方形的边长。")
while True: # k = int(k)
unit= input("请输入:") # while True:
if unit== 'q': # if k = 0 or k<0:
break # print("数字要大于0呦。")
else: # else:
total.append(unit) # print("输入成功")
print(total) # break
\ No newline at end of file # 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