write a pogramm using switch code to enter a number and print its last digit in words ( eg. 234 - the out put will be four.)
Answers
Answered by
0
Answer:
Hey! This is in python...
num = int(input("Enter a number: "))
print("Last digit = ", str(num)[-1])
# HOPE THIS HELPS!!
# PLEASE MARK AS BRAINLIEST
Similar questions