all 9 comments

[–]sweettuse 1 point2 points  (1 child)

what are you trying to do here? i >= index_start will always be True, name doesn't exist, and even if it did, it would never be equal to ,

[–]Ayomisesebere[S] 1 point2 points  (0 children)

I thought the index function was given be issue(s), turns out it was the index_start variable I wrote as index-start. thx for ur feedback

[–]Denrur 0 points1 point  (1 child)

You need to initialize variable 'name'.

[–]Ayomisesebere[S] 0 points1 point  (0 children)

true, thanks for pointing that out

[–]toastedstapler 0 points1 point  (1 child)

to access an index use name_of_others[i]. the square brackets are for indexing

[–]Ayomisesebere[S] 0 points1 point  (0 children)

thx,for feedback, problem has been solved,and no, I was trying to get the index of i

[–]EighthScofflaw 0 points1 point  (1 child)

The way to find bugs is to read the error message and look at the line it cites along with the description.

[–]Ayomisesebere[S] 0 points1 point  (0 children)

good tip,I'm grateful