On Friday, August 10, 2012 2:05:36 PM UTC-5, Pedro Kroger wrote:
> On Aug 10, 2012, at 3:52 PM, Chuck <galois...@gmail.com> wrote:
> 
> 
> 
> >    if __name__ == '__main__':
> 
> > 
> 
> >        quiz()
> 
> > 
> 
> > 
> 
> 
> 
> You need to instantiate your class:
> 
> 
> 
>     foo = ElementsQuiz()
> 
>     foo.quiz()
> 
> 
> 
> 
> 
> Pedro
> 
> -----
> 
> http://pedrokroger.net
> 
> http://musicforgeeksandnerds.com

That doesn't work either for some reason.  I keep getting "NameError: name 
'ElementsQuiz' is not defined"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to