题解 | #球的体积与表面积#
球的体积与表面积
http://www.nowcoder.com/practice/5d315b9f93df4935b8d216c14e6db4be
试试水
import math
r = input()
r_list = r.split(' ')
for i in r_list:
V = 4*math.pi*int(i)**3/3
S = 4*math.pi*int(i)**2
print('{:.3f}'.format(V),'{:.3f}'.format(S),sep=' ')