标签:定义 span gas asc return one volume logs 抽象
何为好的函数
def pressure(v, t, n=6.022e23): """Compute the pressure in pascals of an ideal gas. v -- volume of gas, in cubic meters t -- absolute temperature in degrees kelvin n -- particles of gas (default: one mole) """ k = 1.38e-23 # Boltzmann‘s constant return n * k * t / v
标签:定义 span gas asc return one volume logs 抽象
原文地址:http://www.cnblogs.com/EliEyes/p/7050523.html