Nov-25-2022, 06:34 AM
Please can you post code within Python tags?
Remember that once a return statement is hit, execution goes back to the caller of the function. No code in the function after the return is executed.
Which editor are you using? Some of them give you warnings about things like this, so you notice.
Remember that once a return statement is hit, execution goes back to the caller of the function. No code in the function after the return is executed.
Which editor are you using? Some of them give you warnings about things like this, so you notice.