Other languages allow you to something like
Do
loop body
While conditions
This guarantees the loop runs at least once, and allows you to have user input determine the conditions inside the loop without having to initialize them first. Does Python support this type of loop?
Edit: I'm not looking for a work around. I went with
quitstr = self._search_loop()
while quitstr != 'y':
quitstr = self._search_loop()
I am only asking whether or not Python supports post-execution loop evaluation