Global and local variables in Python with examples - Posts - OneCompiler