0
I wanted getting indexes where "i" is in "Mississippi" but the results aren't as expected pls help me get what the error is
5 Answers
+ 2
https://code.sololearn.com/c5AOlTI6Pecn/?ref=app
0
thanks Amir Galanty I realised later that I was printing k as i everytime (that's why giving same index value everytime)lol
0
hey Amir Galanty can you explain the second one (can't understand how len is used there for this purpose?)
0
range(len(l)) create a range of 0 to (size of l)-1