半径乘半径乘3.14,结果乘高
def volum_cap(r,h): v = int(r) * int(r) * int(h) * 3.1415926 print "The volum is:",v return v用的时候直接调用函数,更换参数,例如半径是5,高为6volum_cap(5,6)回车后得出The volum is: 471.23889