Skip to content

Instantly share code, notes, and snippets.

@daniel-obrien
Created October 31, 2016 21:18
Show Gist options
  • Save daniel-obrien/988ffe01ffc23c3fc340b330ba7737a6 to your computer and use it in GitHub Desktop.
Save daniel-obrien/988ffe01ffc23c3fc340b330ba7737a6 to your computer and use it in GitHub Desktop.
Cylinder Volume
def cylindervolume(radius,height):
print("Ok so you want the volume of a cylinder.....")
print("Did you Remember the pi!!!")
answer = 3.14*radius**2*height
print(answer)
cylindervolume()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment