1>>> import math
2
3>>> math.ceil(5.2)
46
5
6>>> math.ceil(5)
75
8
9>>> math.ceil(-0.5)
100
1# To round a number in Python, use 'round()'
2round(21.57) # Output: 22
3round(5.473, 2) # Output: 5.47
1>>>import math
2>>> math.floor(1.6)
31
4>>> math.floor(2)
52
6>>> math.floor(3.9)
73