From: James A. T. <tr...@de...> - 2008-05-22 01:08:02
|
On Wed, May 21, 2008 at 05:27:18PM -0700, Rob G. Healey wrote: > Greetings: > > In working with integers in python, /if an integer is greater than > 9, so 10 and above. How do I break it down to just the ones part to > test it for adding something to it based on 1st, 2nd, 3rd. I am wanting > to add the st nd and rd part to it..... x = 9 ones = x%10 -- A: Because it messes up the order in which people normally read text. James Treacy Q: Why is top-posting such a bad thing? tr...@de... A: Top-posting. Q: What is the most annoying thing in e-mail? |