[Tutor] Lists within lists return

Eve Kotyk e.kotyk@shaw.ca
Tue, 11 Dec 2001 14:38:16 +0000


> >     #now lets run the questions
> >     run_test(get_questions())
> 
> is indented too far.  You probably want the definition of run_test() to be
> outside check_question().

Thanks Danny.  I thought this might be the case but when I do that I get
the following error:
 python test.py
Traceback (innermost last):
  File "test.py", line 50, in ?
    run_test(get_questions())
NameError: run_test       

And I cannot see where I have the name error.


-- 

ekotyk

http://members.shaw.ca/e.kotyk/virtualstudio.htm