새소식

Algorithm/Acmicpc.net (백준)

[python] 백준 : 택시 기하학 (3053번)

  • -
import math
r = int(input())
euclidean = math.pi * (r * r)
taxi = 2 * (r*r)
print("%.6lf" % euclidean)
print("%.6lf" % taxi)
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.