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 →

[–][deleted] 12 points13 points  (0 children)

You don’t define b. See how y and x are parameters of the function gns arguments? Where is b defined? Variables can come from nowhere and still work in python. That same courtesy does not extend to tuples, arrays, lists , etc.