Created
October 31, 2016 21:18
-
-
Save daniel-obrien/988ffe01ffc23c3fc340b330ba7737a6 to your computer and use it in GitHub Desktop.
Cylinder Volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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