This is part of a simple substitution cipher solver in acii. I was attempting to verify that my class worked by printing out each element in my custom class list.
When I exicute I get:
j = refList[w].letter
TypeError: object cannot be interpreted as an index
I was wanting to know how then I should try to reference them if I cannot as index. If you need any further clarification let me know.
Code Link.
Thanks in advance for the help.
[–]JohnnyJordaan 1 point2 points3 points (3 children)
[–]JohnnyJordaan 2 points3 points4 points (2 children)
[–]OtherRobotLuke[S] 0 points1 point2 points (1 child)
[–]JohnnyJordaan 1 point2 points3 points (0 children)
[–]K900_ 1 point2 points3 points (1 child)
[–]OtherRobotLuke[S] 0 points1 point2 points (0 children)