python ceiling
import math
n = 2.5
print(str(math.ceil(n)))
python floor
import math
x = 3.86356
math.floor(x)
#Returns: 3
math.ceil(x)
#Returns: 4
floor and ceil in python
math.floor(-23.11) : -24.0
math.floor(300.16) : 300.0
math.floor(300.72) : 300.0
math.ceil(-23.11) : -23.0
math.ceil(300.16) : 301.0
math.ceil(300.72) : 301.0
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us