编写程序,从键盘输入圆柱体的半径和高度,计算圆柱体的体积。结果保留2位小数,
from math import pi n = input().split() n = list(map(lambda x: eval(x), n)) print("%.2f"%(n[0]**2*pi*n[1]))