I edited slightly the code to print the index of "i" in the variable word which acts as list of character
If character is not "i" , it will print the character itself ( not the index)
word = "Programming is fun!"
The output is strange!
8 >> This is correct
8 >> This is Incorrect !! should 12 instead of 8