Brian, Thanks! I will try it when I come home,
> > Shihpin Lin > > This does it: > > >>>> def reversed_int(i): > > ... return int(''.join(reversed(str(i)))) > > ... > >>>> reversed_int(12345) > > 54321 > > Best, > > Brian vdB -- http://mail.python.org/mailman/listinfo/python-list