Python Developer — Hard
Key points
- The `nonlocal` keyword allows modifying a variable in an outer scope
- Each time `c()` is called, `count` is incremented by 1
- The initial value of `count` is set to 10
Ready to go further?
Related questions
Python Developer — Hard
Key points
Ready to go further?
Related questions