Thread
:
KeyboardInterrupt when calling a function
View Single Post
Feb 3rd, 2006, 9:12 AM
#
5
Dietrich
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power:
4
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
View Public Profile
Find More Posts by Dietrich