j=input("Enter the value")
print("The word you entered is", j)
print("The last letter of",j,"is",j[len(j)-1])
- Typing : It asks us what value to type if we type a value if it is dynamic.
- Displays : It shows you the word you wrote.
- End : The last letter is said.
- Function : It is possible to find the last letter by this function.