Don't think there is one in builtin for that and might have to convert str <-> int to do that too, such as int(str(i)[::-1]) ...<br><br>Jim<br><br><div><span class="gmail_quote">On 6/3/07, <b class="gmail_sendername">
Shihpin</b> <<a href="mailto:Shihpin.Lin@gmail.com">Shihpin.Lin@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all,<br><br>Is there a fuction that reverse the digits of a number?<br><br>Many thanks,<br><br>Shihpin Lin<br><br>--<br><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list
</a><br></blockquote></div><br><br>