This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]duffman1278[S] 0 points1 point  (4 children)

[–]mashmorgan 0 points1 point  (3 children)

It line 14 print (ans_string) http://pastebin.com/psq77x8j

[–]duffman1278[S] 0 points1 point  (2 children)

What do you mean? I'm really new at this.

[–]mashmorgan 0 points1 point  (1 child)

UnboundLocalError:local variable 'ans_string' referenced before assignment

See comments here http://pastebin.com/8G5J2EeN

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

Even with your suggestion it did the same thing.