Last active
October 2, 2019 09:55
-
-
Save jasongorman/7a4ec458fe8d431cd1ec21d4d625cb98 to your computer and use it in GitHub Desktop.
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 ceil(number): | |
remainder = number % 1 | |
if remainder == 0: | |
return number | |
return number - remainder + 1 | |
print('The Square root of 25 =', sqrt(25)); | |
print('The factorial of 5 is ', factorial(5)) | |
print('The ceiling of 1.3 is ', ceil(1.3)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment