---
title: "Discussion on \"Python Variables\" | Hashnode"
description: "Discussion on \"Python Variables\". Python Variables, unlike other programming languages out there, doesn't use a command for declaring variables.  The variable gets created the moment a value gets assigned to it.\nx = 2\nprint(x)  # output is 2\n\ny = 4\nprint(y) # output is 4\nSince Python..."
url: "https://hashnode.com/posts/python-variables/601cc0e01054fa16dadd6cd6"
---

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

Discussion

# [Python Variables](https://paolo.hashnode.dev/python-variables?utm_source=hashnode&utm_medium=feed)

Python Variables, unlike other programming languages out there, doesn't use a command for declaring variables. The variable gets created the moment a value gets assigned to it. x = 2 print(x) # output is 2 y = 4 print(y) # output is 4 Since Python...

Feb 5, 2021 · 3 min read · paolo.hashnode.dev  
Read the article

-   [#python-beginner](https://hashnode.com/tag/python-beginner)
-   [#beginners-learningtocode-100daysofcode](https://hashnode.com/tag/beginners-learningtocode-100daysofcode)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#oop](https://hashnode.com/tag/oop)

## Written by

[Paolo Urciullo](https://hashnode.com/@Paolourciullo)

@Paolourciullo · CT, USA

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

web front end🌎| database📚| python🐍| lasagna🍲

Under Construction

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
