fork download
  1. import math
  2.  
  3. r=float(input())
  4. area=math.pi*r*r
  5. print("圆的面积是",format(area))
Success #stdin #stdout 0.03s 63068KB
stdin
5
stdout
('\xe5\x9c\x86\xe7\x9a\x84\xe9\x9d\xa2\xe7\xa7\xaf\xe6\x98\xaf', '78.5398163397')