summaryrefslogtreecommitdiff
path: root/progs/a675.py
blob: 1de8c7af3ab102b2eba66751bab819a33655ad83 (plain)
1
2
3
4
import math
def volume_cone(r,h):
  volume = (1.0/3) * math.pi * r * r * h
  return volume