On line 13 you refer to
Note that you make same error on lines 5 and 8 with
All that said it's obvious that skeleton class is not really well designed to warrant it to be a class at all
self.start
and self.end
. However your class has no attribute start
and end
. You are supposed to use start
and end
- these are the arguments you pass when call digitpower.sumofarmstrongnumbers()
method.Note that you make same error on lines 5 and 8 with
self.number
All that said it's obvious that skeleton class is not really well designed to warrant it to be a class at all
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs