Loading

Quipoin Menu

Learn • Practice • Grow

python / Scope and Global
exercise
1/5
Exercise 1Python
Question

Write a Python program that demonstrates local and global scope. Define a global variable, then modify it inside a function using the `global` keyword.