---
title: "Discussion on \"Global and Local Scopes of Python Variables\" | Hashnode"
description: "Discussion on \"Global and Local Scopes of Python Variables\". As you may or may not know; In python, a variable is created the moment you assign a value to it using the “=“ sign. Due to their scopes, Variables are classified into two main groups. \nWhat is a scope?\nThe scope of a variable refers to the area wher..."
url: "https://hashnode.com/posts/global-and-local-scopes-of-python-variables/60be4cf89cd179337419f425"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Global and Local Scopes of Python Variables](https://lulunwenyi.hashnode.dev/global-and-local-scopes-of-python-variables?utm_source=hashnode&utm_medium=feed)

As you may or may not know; In python, a variable is created the moment you assign a value to it using the “=“ sign. Due to their scopes, Variables are classified into two main groups. What is a scope? The scope of a variable refers to the area wher...

Jun 7, 2021 · 3 min read · lulunwenyi.hashnode.dev  
Read the article

-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#python](https://hashnode.com/tag/python)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Oluchi Nwenyi](https://hashnode.com/@lulunwenyi)

@lulunwenyi · Lagos, Nigeria

  
[View profile](https://hashnode.com/@lulunwenyi)

technical writer

## Responses 1

Markdown supported · ⌘↵ to post

[Teniola Fatunmbi](https://hashnode.com/@devteni)

[Jun 7, 2021](https://hashnode.com/posts/global-and-local-scopes-of-python-variables/60be4cf89cd179337419f425/comment/60be61609cd179337419f579)

So simple to comprehend! Thanks for this Lulu.
