7 lines
123 B
Python
7 lines
123 B
Python
import math
|
|
|
|
radius = float(input('Enter circle radius : '))
|
|
# ** 表示幂计算
|
|
area = math.pi * (radius**2)
|
|
print(area)
|