Back to tasks
Lucky seven
BeginnerPython for kids 路 Lesson 19: Comparisons: greater, less, equal
Problem Statement
Read a number n (0 or more). Print whether its last digit is 7.
Input Format
One whole number n (0 <= n <= 1000).
Output Format
True or False (that's how Python prints it).
Examples
Example 1
Input
127
Output
True
Example 2
Input
72
Output
False