How to check if a string "is" an int?

Paul Rubin http
Fri Dec 23 06:47:39 EST 2005


"Fredrik Lundh" <fredrik at pythonware.com> writes:
>     A: are there any blue cars on the street?
>     B: no.  not a single one.
>     A: you're wrong! all cars on the street are blue!

B and A are both correct.  It's just logic ;-).



More information about the Python-list mailing list