Ask Your Question

Revision history [back]

This is more of a general programming question. Maybe better try it here: http://stackoverflow.com But I would suggest to use a while loop instead. You can use break there or design your condition accordingly. https://wiki.python.org/moin/WhileLoop