View Single Post
Old Feb 3rd, 2006, 9:12 AM   #5
Dietrich
Professional Programmer
 
Dietrich's Avatar
 
Join Date: Feb 2005
Posts: 434
Rep Power: 4 Dietrich is on a distinguished road
Your algorithm isn't correct. Put in a test statement like "print ct" right after the while statement line and you will find out the ct is always zero, so while is an endless loop!
__________________
I looked it up on the Intergnats!
Dietrich is offline   Reply With Quote