LearnPy Hub
← Operators problems
Easy

Last Digit

Read a non-negative integer and print its last digit using %.

Input

One integer ≥ 0.

Output

One digit.

Sample 1

Input
1234
Output
4

Sample 2

Input
7
Output
7
solution.py
Output appears here
Last Digit · Python practice problem · LearnPy Hub