Commit bab69974 by BellCodeEditor

auto save

parent 477d3915
Showing with 14 additions and 0 deletions
# a=input("输入一个华氏度")
# print(int(a)-32/1.8)
# r=float(input("输入半径:"))
# c=2*3.14*r
# s=3.14*r*r
# print("半径的周长是%.2f面积是%.2f" % (c,s))
#a=float(input("请输入一个数值: "))
#b=(a-32)/1.8
#print("华氏度%7 摄氏度"%7 %(a,b)
c=float(input("输入一个数值: "))
a=2*3.14*c
b=3.14*c*c
print("半径的周长%f 面积%f" %(a,b))
\ 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