add without carry

Hugh hugh.frater at gmail.com
Fri Sep 15 05:33:24 EDT 2006


Sorry, here's an example...

5+7=12

added without carrying, 5+7=2

i.e the result is always less than 10

I've been thinking some more about this and my brain is starting to
work something out... I just wondered if there was a function in python
math to do this automatically...

Hugh




More information about the Python-list mailing list