On Thu, May 23, 2013 at 8:23 PM,  <lokeshkopp...@gmail.com> wrote:
>  Thanks Chris Angelico,
> i am new to python can you suggest me how to remove the error and solve it.
> so,how can i create an instance for "Node" in that function??,is, it not 
> possible to create an instance in such a way?

The problem isn't the instantiation; the problem's further down, where
you reuse the name "Node" to iterate over your list. Rename that to
something else and you should be right.

ChrisA
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to