add without carry

Hugh hugh.frater at
Fri Sep 15 11:33:24 CEST 2006

Sorry, here's an example...


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...


More information about the Python-list mailing list