Lecture 4: Variables: Types, Naming Rules | Python for Beginners | Python full course in Hindi смотреть онлайн
Python Programming - From Basics to Advanced level [2023] | Python for Beginners | Python full course in Hindi | The Complete Python Programming Course: Beginner to Advanced | Python Programming Full Course (Basics + Advanced) | Python 3: From Beginner to Advanced | Python For Beginner and Intermediate Learners | Everything About Python — Beginner To Advanced | How to learn Python from a beginner level | Python Tutorial for Beginners: Learn Programming Basics | Learn Python - Free Interactive Python Tutorial | Learn Python Programming | The ultimate introduction to Python in 2023 | Python Full Course for free | Python Tutorial For Beginners In Hindi (With Notes) 2023 | Python Tutorials For Absolute Beginners In Hindi | Python Tutorial - Python Full Course for Beginners | Learn Python - Full Course for Beginners Tutorial
Python Variables
Variable is a name that is used to refer to memory location. Python variable is also known as an identifier and used to hold value.
In Python, we don't need to specify the type of variable because Python is a infer language and smart enough to get variable type.
Identifier Naming
Variables are the example of identifiers. An Identifier is used to identify the literals used in the program. The rules to name an identifier are given below.
1) The first character of the variable must be an alphabet or underscore ( _ ).
2) All the characters except the first character may be an alphabet of lower-case(a-z), upper-case (A-Z), underscore, or digit (0-9).
3) Identifier name must not contain any white-space, or special character (!, @, #, %, ^, &, *).
4) Identifier name must not be similar to any keyword defined in the language.
5) Identifier names are case sensitive; for example, my name, and MyName is not the same.
Declaring Variable and Assigning Values
Python does not bind us to declare a variable before using it in the application. It allows us to create a variable at the 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.
Download the Notes for Python Basics to Advance series Lecture 4
Before proceeding ahead, please download lecture 4 notes using the link:- https://drive.google.com/drive/folders/1KTyP6WvdnmOlJr8vQ_RaTFXbcQHN2y2y?usp=sharing
The multi-word keywords can be created by the following method.
1) Camel Case - In the camel case, each word or abbreviation in the middle of begins with a capital letter. There is no intervention of whitespace.
For example - nameOfStudent, valueOfVaraible, etc.
2) Pascal Case - It is the same as the Camel Case, but here the first word is also capital. For example - NameOfStudent, etc.
3) Snake Case - In the snake case, Words are separated by the underscore. For example - name_of_student, etc.
Multiple Assignment
Python allows us to assign a value to multiple variables in a single statement, which is also known as multiple assignments.
We can apply multiple assignments in two ways, either by assigning a single value to multiple variables or assigning multiple values to multiple variables.
Consider the following example.
1) Assigning single value to multiple variables.
2) Assigning multiple values to multiple variables.
Python Variable Types
There are two types of variables in Python:
1) Local Variable
2) Global Variable
Delete a variable
We can delete the variable using the del keyword. Syntax del variable_name
Python Basic to Advance Full Playlist:- youtube.com/watch?v=spc48j85bAg&list=PLVO2IRpyPVc1gD0sqrYgccbyDOX7Z_Wlj
_____________________________________________________________________________________________________________________________________________________________
Other Python Projects:
Face Detection using Python:- https://www.youtube.com/watch?v=EMLIpRAbRaI&list=PLVO2IRpyPVc0MTmJZSms35tJmCF0_w-nV
GUI Based Scientific Calculator:- https://www.youtube.com/watch?v=6CAuI6YfvSw&list=PLVO2IRpyPVc3m6IkENSqlM171Q9y0g6nn
GUI Based Music player:- https://www.youtube.com/watch?v=kZXg6AIITeY&list=PLVO2IRpyPVc3i-zeBL487cto66rl8eiJY
GUI Based Digital clock:- https://www.youtube.com/watch?v=-ld7K7L6ues&list=PLVO2IRpyPVc3WcrSWiZ971KKzuEKNtHfL
GUI Based Text Editor:- https://www.youtube.com/watch?v=8dbUCssLJK0&list=PLVO2IRpyPVc1IZxEyhiIOKhXNgaU5VTkT
_______________________________________________________________________________________________________________________
Connect with me:
Facebook:- https://www.facebook.com/ak.kmr
Instagram:- https://www.instagram.com/ak.kmr111/
Email:- [email protected]
________________________________________________________________________________________________________________________
Subscribe:- https://www.youtube.com/channel/UCMsng433EPhAQbgiuQMN-Ig
#python #pythontutorial #basictoadvance #projectguru #pythonprogramming #intellipaat #codewithharry #apnacollege #pythonbasics #pythonforbeginners
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Lecture 4: Variables: Types, Naming Rules | Python for Beginners | Python full course in Hindi» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.