May-10-2019, 01:45 PM
Yoriz Wrote:if the nested loop is in a function, return can be used instead of break to exit.Yes, but in this case,
session.exit()
exits more than the function. It exits from a block of code that contained the call to the function.