What is variable ? | variable in python | variable

Опубликовано: 02 Июнь 2020
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн What is variable ? | variable in python | variable длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Rajesh Bhandari 02 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 27 раз и оно понравилось 4 зрителям. Приятного просмотра!