Question #174385

Given a positive integer, write a program to print the digit in its one's place


Expert's answer

n = int(input("Enter a number: "))
n = n % 10
print(n)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS