Help me in solving PYTH41 problem

My issue

string

kese karna h

My code

# Update your code below this line
word="Programming"
print(word.index[2])
print(word.index[1])

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

@ankitb9685
U have to do it like this.

# Solution as follows

word = "Programming"

print(word[2])
print(word[1])