"Dick Moores" <[EMAIL PROTECTED]> wrote > if type(n) == 'int' or type(n) == 'long': > do something
don't use strings if type(n) == int Or just use an instance of the same type: if type(n) == type(42) Alan G. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
