728x90
반응형
import math
r = int(input())
print('%.6f'%(math.pi*r**2))
print('%.6f'%(2*r**2))
728x90
반응형
'Agorithm > 백준 알고리즘' 카테고리의 다른 글
백준 알고리즘 4153번 직각삼각형(python) (0) | 2020.02.11 |
---|---|
백준 알고리즘 3076번 상근이의 체스판(python) (0) | 2020.02.11 |
백준 알고리즘 3052번 나머지(python) (0) | 2020.02.11 |
백준 알고리즘 3049번 다각형의 대각선(python) (0) | 2020.02.11 |
백준 알고리즘 3046번 R2(python) (0) | 2020.02.11 |