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
string
kese karna h
# 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])