math.floor
math.ceil
math.sqrt
Returns the ceiling (rounded up) of a number.
math.ceil(x)
아래 값을 입력하면 예제에 즉시 반영됩니다.
import
math
print
import math print(math.ceil(4.1)) # 5 print(math.ceil(-4.9)) # -4