On Thu, Jun 28, 2012 at 12:59:45AM +0100, Imran Javeed wrote:
> Im trying to replay the code on the python cmd line but keep getting this
> error
>
> >>> w_count[string] = w_count[string] + 1
>
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: cannot concatenate 'str' an
On 06/27/2012 07:59 PM, Imran Javeed wrote:
> Hello
>
> I have attempted the wordcount.py exercise and am trying to understand the
> logic behind the code.
>
> Im trying to replay the code on the python cmd line but keep getting this
> error
>
w_count[string] = w_count[string] + 1
> Traceback
Hello
I have attempted the wordcount.py exercise and am trying to understand the
logic behind the code.
Im trying to replay the code on the python cmd line but keep getting this
error
>>> w_count[string] = w_count[string] + 1
Traceback (most recent call last):
File "", line 1, in
TypeError: