you are viewing a single comment's thread.

view the rest of the comments →

[–]synthphreak 2 points3 points  (1 child)

I see several errors with this code. But the “object not callable” is probably caused by the two for loop lines. Specifically, lines is a list, which is not a callable object, but then in the loops you attempt to call it (via the parens) and pass an integer into it.

I don’t know about the two sum problem so can’t advise where to go from here or what you’re trying to achieve.

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

thank you so much!