Solve problem "Last digit of integer" online - Learn Python 3 - Snakify

Problem «Last digit of integer» (Easy)


Statement

Given an integer number, print its last digit.

In all the problems input the data using input() and print the result using print().



Saved solutions

Tests

Input Correct answer Result
179
9
40
0
101
1
222
2
1923
3
74
4
505
5
996
6
3487
7
308
8
1
1
2
2
3
3
4
4
5
5
6
6
7
7
9
9
10
0