Python Variables: Declare, Concatenate, Global & Local - LearnHowToCode SarkariResult.com Interview Questions and Answers LearnHowToCodeOnline
Concatenate

Python Variables: Declare, Concatenate, Global & Local

Summary: this tutorial will introduce you to the Python Variables.

Introduction to Python Variables
What is Python Variables: Declare, Concatenate, Global & Local ?
Variable is a name which is used to refer memory location. Variable also known as identifier and used to hold value.
In Python, we don't need to specify the type of variable because Python is a type infer language and smart enough to get variable type.
Variable names can be a group of both letters and digits, but they have to begin with a letter or an underscore.
It is recomended to use lowercase letters for variable name. Ethan and ethan are two different variables.
Declaring Variable and Assigning Values

Python does not bound us to declare variable before using in the application. It allows us to create variable at required time.
We don't need to declare explicitly variable in Python. When we assign any value to the variable that variable is declared automatically.
The equal (=) operator is used to assign value to a variable.


If Was this tutorial helpful? so please share by social media 

About Mariano

I'm Ethan Mariano a software engineer by profession and reader/writter by passion.I have good understanding and knowledge of AngularJS, Database, javascript, web development, digital marketing and exploring other technologies related to Software development.

0 comments:

Featured post

Political Full Forms List

Acronym Full Form MLA Member of Legislative Assembly RSS Really Simple Syndication, Rashtriya Swayamsevak Sangh UNESCO United Nations E...

Powered by Blogger.