Last digit of integer : Given an integer number, print its last digit, Snackify.org python code on February 20, 2022 Get link Facebook X Pinterest Email Other Apps CODING QUESTIONGiven an integer number, print its last digit. SOLUTION# Read an integer:# a = int(input())# Read a float:# b = float(input())# Print a value:# print(a, b)x=int(input())print(x%10) Input: 178Output: 9