Write a python program to print the digit at one's place of a number.number=int(input("Enter the number:"))a=number%10print("The digit at one's place of a number "+ str(number)+ " is",a)Enter the number: 34567The digit at one's place of a number 34567 is 7
No comments:
Post a Comment