Commit e3c74b34 by BellCodeEditor

auto save

parent 4eda206b
Showing with 9 additions and 4 deletions
message = "诺依,周末一起去看动漫展吧!" p=3.14
for i in message: r=float(input("请输入一个大于0的半径:"))
print(i) a=2*r
c=a*p
s=p*r*r
print("圆的直径是:%.2f"%a)
print("圆的周长是:%.2f"%c)
print("圆的面积是:%.2f"%s)
\ 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