12 lines
196 B
Python
12 lines
196 B
Python
import math
|
|
|
|
class bodys():
|
|
@staticmethod
|
|
def circle(radius):
|
|
scope = 2 * math.pi * radius
|
|
area = math.pi * radius*radius
|
|
|
|
return ({
|
|
"scope": scope,
|
|
"area": area
|
|
}) |