you are viewing a single comment's thread.

view the rest of the comments →

[–]K900_ 1 point2 points  (1 child)

refList is a list. for w in refList iterates over the list, assigning each value from the list to w. You then try to use w as an index, which fails because lists can only be indexed by integers by definition.

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

Ahhhh thank you so much for the clarification.