https://www.acmicpc.net/problem/3053

import math
R = int(input())
print(format(math.pi * (R ** 2), '6f'))
print(format(2*(R**2), '6f'))
'Programming [Python] > 백준 알고리즘 솔루션' 카테고리의 다른 글
| #124 백준 파이썬 [1037] 약수 (0) | 2019.09.30 |
|---|---|
| #123 백준 파이썬 [5086] 배수와 약수 (0) | 2019.09.30 |
| #121 백준 파이썬 [3009] 네 번째 점 (0) | 2019.09.30 |
| #120 백준 알고리즘 [3036] 링 (0) | 2019.09.30 |
| #119 백준 파이썬 [1085] 직사각형에서 탈출 (0) | 2019.09.30 |