On 04/15/2015 09:09 AM, Steven D'Aprano wrote:
On Wed, Apr 15, 2015 at 08:21:33AM -0400, Ken G. wrote:
When running the following code, I get the following
error code:
201504110102030405061
Traceback (most recent call last):
File "Mega_Millions_Tickets_Change.py", line 11, in
datecod
On 04/15/2015 08:50 AM, Peter Otten wrote:
Ken G. wrote:
When running the following code, I get the following
error code:
201504110102030405061
Traceback (most recent call last):
File "Mega_Millions_Tickets_Change.py", line 11, in
datecode[20:21] = "0"
TypeError: 'str' object does
On Wed, Apr 15, 2015 at 08:21:33AM -0400, Ken G. wrote:
> When running the following code, I get the following
> error code:
>
> 201504110102030405061
> Traceback (most recent call last):
> File "Mega_Millions_Tickets_Change.py", line 11, in
> datecode[20:21] = "0"
> TypeError: 'str' object
On 04/15/2015 08:36 AM, Dave Angel wrote:
On 04/15/2015 08:21 AM, Ken G. wrote:
When running the following code, I get the following
error code:
201504110102030405061
Traceback (most recent call last):
File "Mega_Millions_Tickets_Change.py", line 11, in
datecode[20:21] = "0"
TypeErro
Ken G. wrote:
> When running the following code, I get the following
> error code:
>
> 201504110102030405061
> Traceback (most recent call last):
>File "Mega_Millions_Tickets_Change.py", line 11, in
> datecode[20:21] = "0"
> TypeError: 'str' object does not support item assignment
>
>
On 04/15/2015 08:21 AM, Ken G. wrote:
When running the following code, I get the following
error code:
201504110102030405061
Traceback (most recent call last):
File "Mega_Millions_Tickets_Change.py", line 11, in
datecode[20:21] = "0"
TypeError: 'str' object does not support item assignm
When running the following code, I get the following
error code:
201504110102030405061
Traceback (most recent call last):
File "Mega_Millions_Tickets_Change.py", line 11, in
datecode[20:21] = "0"
TypeError: 'str' object does not support item assignment
datecode = "201504110102030405061"