>>> import sys >>> word = sys.stdin.readline() Hello >>> print(word[-1]) >>> print(word[-2]) o
The above metho