Complex evaluation bug
Brian Blazer
brian at brianandkate.com
Thu May 18 12:46:43 EDT 2006
I am not exactly sure what is going on, but I get the error:
ValueError: complex() arg is a malformed string
I think that it might be because the value of 'j' is not defined.
But I am a newbie so I could very well be wrong.
Brian Blazer
brian at brianandkate.com
On May 18, 2006, at 11:36 AM, of wrote:
> a = 1+3j
> complex(str(a))
>
> Why does this not work ? It should
> --
> http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list