English, asked by 9717036775, 1 year ago

Write loop that print out index of every I in mississippi in python

Answers

Answered by jyotigornal99
0

Answer:

we can write loop for this, in while loop.

Explanation:

s="Mississippi"

start=0

while start<len(s):

print "the index of i is: ", s.find('i',start,len(s))

start=start+1

Similar questions