Source

articles_code / picloud_article / mapdemo.py

1
2
3
4
import numpy

def vol_cylinder(r,h):
    return numpy.pi*r*r*h