write a code for a word w and integer n and print the index n in word

 write a code for a word w and integer n and print the index n in word.


    x=input()

    n=int(input())

    print(x[n])

Comments