simple perl program in python gives errors
Christoph Haas
email at christoph-haas.de
Mon Jan 30 12:02:56 EST 2006
On Monday 30 January 2006 17:52, squash at peoriadesignweb.com wrote:
> I am a little annoyed at why such a simple program in Perl is causing
> so much difficulty for python, i.e:
>
> $a += 200000 * 140000;
>
> print $a;
a = 0
a += 200000 * 140000
print a
Seems to be more a problem for you than for Python.
Christoph
P.S.: Xah, is that you?
P.P.S.: You should have told what's going wrong.
P.P.P.S.: Variables are not automatically initialised in Python.
And you shouldn't even rely on that in Perl.
--
Never trust a system administrator who wears a tie and suit.
More information about the Python-list
mailing list