Why do I get this error?

the_2nd_coming jpetzold at twmi.rr.com
Fri May 18 22:07:30 EDT 2001


I thought that by doing that I would assign the second charactor in list to 
n2, what do I need to do to acomplish this?

thanks again



Chris R. Timmons wrote:

> Jeremy,
> 
> fix_expression is only called when "list" has one element.  "n2 =
> list[1]" is trying to read a non-existent second element.
> 
> HTH,
> 
> Chris.
> ---------------
> 




More information about the Python-list mailing list