On 08/17/2017 05:45 AM, Howard Lawrence wrote:
> Yes, it does.
> 
> On Aug 16, 2017 8:02 PM, "Zachary Ware" <zachary.ware+py...@gmail.com>
> wrote:
> 
> Hi Howard,
> 
> On Wed, Aug 16, 2017 at 5:36 PM, Howard Lawrence <1019sh...@gmail.com>
> wrote:
>> class Address:
>>         def _init_(self,Hs,St,Town,Zip):
> 
> Your issue is in this line, it should be `__init__` rather than
> `_init_` (that is, two underscores before and after "init").
> 
> Hope this helps,


I would add that typography in a web browser, and sometimes even on the
printed page, may not make the double underscores ('dunder') actually
clearly look like two characters, so until one runs into this lesson The
Hard Way, it might be an easy mistake to make.


_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to