In Python, why are variables defined in a compound statement not local to the statement?
Channel: Peter Schneider
Date: 11/12/2022

In Python, why are variables defined in a compound statement not local to the statement?
I hope you found a solution that worked for you :)
 The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA  |
Thanks to all those great people for their contributions!

 (softwareengineering.stackexchange.com/users/216771/alwayslearning)AlwaysLearning |
 (softwareengineering.stackexchange.com/users/51489/ben-cottrell)Ben Cottrell |
 A special thanks goes out to the (https://softwareengineering.stackexchange.com/questions/442266/in-python-why-are-variables-defined-in-a-compound-statement-not-local-to-the-st)Stackexchange community |
 
 I wish you all a wonderful day! Stay safe :)
 
  python