Skip to content

Instantly share code, notes, and snippets.

@jasongorman
Last active October 2, 2019 09:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasongorman/7a4ec458fe8d431cd1ec21d4d625cb98 to your computer and use it in GitHub Desktop.
Save jasongorman/7a4ec458fe8d431cd1ec21d4d625cb98 to your computer and use it in GitHub Desktop.
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