# WAP to print the digit of ones place

a = int(input('Please give me a number: '))
b = (a % 10)

print(f"\nThe digit at once place is: {b}")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: