What is variable ? | variable in python | variable

Pubblicato il: 02 giugno 2020
sul canale di: Rajesh Bhandari
27
4

What is variable ? | variable in python | variable
hey guys
This is Rajesh Bhandari and welcome to my Youtube channel

About this video
Variables In Python?
A variable is a memory location where you store a value. The value that you have stored may change in the future according to the specifications.
A Variable in python is created as soon as a value is assigned to it. It does not need any additional commands to declare a variable in python.
There are a certain rules and regulations we have to follow while writing a variable, lets take a look at the variable definition and declaration to understand how we declare a variable in python.
Variable Definition & Declaration
Python has no additional commands to declare a variable. As soon as the value is assigned to it, the variable is declared.
X=10
Variable is declare as the value 10 assigned to it
There are a certain rules that we have to keep in mind while declaring a variable:
1. The variable name cannot start with a number. It can only start with a character or an underscore.
2. Variables in python are case sensitive.
3. They can only contain alpha-numeric characters and underscores.
4. No special characters are allowed..
5. Use underscore if you want to create a variable name having two or more words.

#variable #rajeshbhandari


In questa pagina del sito puoi guardare il video online What is variable ? | variable in python | variable della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Rajesh Bhandari 02 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 27 volte e gli è piaciuto 4 spettatori. Buona visione!