LearnPy Hub
← Modules & the Standard Library problems
Easy

Ceil and Floor

Read a decimal number and print math.ceil and math.floor of it on one line.

Input

One number.

Output

Two integers.

Sample 1

Input
4.2
Output
5 4

Sample 2

Input
-4.2
Output
-4 -5
solution.py
Output appears here
Ceil and Floor · Python practice problem · LearnPy Hub