[Tutor] Dictionary Issue

Ltc Hotspot ltc.hotspot at gmail.com
Fri Aug 7 20:53:02 CEST 2015


Hi Mark,

Why is Counter not defined on line #15: line =
Counter(address),i.e., NameError: name 'Counter' is not defined?

Share a chat session at http://tinyurl.com/oull2fw
View line entry at http://tinyurl.com/oggzn97

Hal

On Fri, Aug 7, 2015 at 12:14 AM, Mark Lawrence <breamoreboy at yahoo.co.uk>
wrote:

> On 07/08/2015 01:30, Ltc Hotspot wrote:
>
>> Mark,
>>
>> I'm following the instructor's video exercise, available  at
>> https://www.youtube.com/watch?v=3cwXN5_3K6Q.
>>
>> View attached screen shot file, image file shows a copy of the
>> counter: cou[wrd] =cou.get(wrd,0) +1
>>
>> Please, explain the differences in counter methods?
>>
>>
> top posted, again, *plonk*
>
>
> --
> My fellow Pythonistas, ask not what our language can do for you, ask
> what you can do for our language.
>
> Mark Lawrence
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list