About this question
How do Python’s math.ceil() and math.floor() functions work, and why do they return floats instead of integers? This design choice might seem unusual, but it ensures consistency across Python’s math module, which primarily deals with floating-point numbers.