Commit ac98ea3a by BellCodeEditor

auto save

parent 0fe5bb73
Showing with 9 additions and 0 deletions
r=float(input("输入"))
p=3.14
d=2*r
c=2*p*r
s=p*r*r
print("直径为:%0.2f"%d)
print("周长为:%0.2f"%c)
print("面积为:%0.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