This topic is READ ONLY
Mr.Man (1) [Avatar] Offline
#1
hello Mr.Sande and Mr.Sande, when i try to run my skier program it tells me there is a NameError and that the global name ObstacleClass is not defined. how can i fix this? your book is amazing by the way!!!
warren.sande (211) [Avatar] Offline
#2
Re: __---__ CHAPTER 10 SKIER
Mr. Man,

Glad you're enjoying the book!

I suspect a typo in your program, most likely something with indenting. Please carefully check the indenting, and try it again. If that doesn't work, send your code in an e-mail attachment to cp4khelp@yahoo.com, and we'll have a look.

(Unfortunately, this forum doesn't work for posting code, as it strips off the indentation. We will soon be moving the forum to a new site with better functionality.)


- Warren Sande