[Tutor] casting string to integer in a list of lists
spir
denis.spir at free.fr
Fri Jan 9 18:33:22 CET 2009
Forgot a "detail"
> def possible_cube(val):
> try:
> return val ** 3
> except TypeError:
> return val
denis
More information about the Tutor
mailing list