This sucks.

Jp Calderone exarkun at intarweb.us
Fri Mar 7 08:54:23 CET 2003


On Fri, Mar 07, 2003 at 06:14:33AM +0000, Tetsuo wrote:
> 
> No matter how much I look at my code, I can't see how 0>=10. I fixed a
> few things today, but the program still beyond fails.
> 
> Here's a link to the program:
> 
> http://hoverboarder.tripod.com/base.txt
> 
> Here's the algorithm I used:
> 
> http://www.ca-osi.com/article.php?sid=429
> 

  I think this will help:

@@ -57,7 +57,7 @@
     
     newlist = []
     for item in numlist:
-        print item, basein, baseout
+        print repr(item), repr(basein), repr(baseout)
         if item >= basein:
             raise InputError, """Like I said, integers in the input number must be less than
             the input system"""

  Jp

-- 
 up 3 days, 23:59, 6 users, load average: 0.04, 0.05, 0.01





More information about the Python-list mailing list