Posts

Showing posts with the label write a program to print the last character of a string.

write a program to print the last character of a string.

 write a program to print the last character of a string.           x=input()     print(x[-1])