LearnPy Hub
← Data Types & Casting problems
Easy

Drop the Decimals

Read a decimal number and print it converted with int() (which drops the decimal part).

Input

One decimal number.

Output

An integer.

Sample 1

Input
7.9
Output
7

Sample 2

Input
3.14
Output
3
solution.py
Output appears here
Hints
Drop the Decimals · Python practice problem · LearnPy Hub