#08 Variables, Assignments & Dynamic Typing in Python | Python For Class 11 CBSE
Hey, there everyone in this video I'm going to teach you what are variables, assignments, and dynamic typing in python for class 11 CBSE Computer Science/IP.
What we will cover in this video?
01. What is a variables in python?
02. How to create variable in python?
03. What are lvalues and rvalues in python?
04. What are multiple assignments in python?
05. How to assign single value to multiple variables in python?
06. How to assign multiple values and multiple variables in python?
07. What is dynamic typing in python?
What is a Variable in Python?
A Python variable is a reserved memory location to store values. In other words, a variable in a python program gives data to the computer for processing.
How to Declare and use a Variable?
Let see an example. We will declare variable "a" and print it.
a=50
print (a)
Python is a dynamically typed language. It doesn’t know about the type of the variable until the code is run. So declaration is of no use. What it does is, It stores that value at some memory location and then binds that variable name to that memory container. And makes the contents of the container accessible through that variable name. So the data type does not matter. As it will get to know the type of the value at run-time.
Still have any doubts?
Just comment below!!
Subscribe :- https://www.youtube.com/askforyou/
AskForYou Blog :- https://askforyou.tk/
Facebook Link :- https://www.facebook.com/askforyouofficial/
Instagram Link :- https://www.instagram.com/askforyouofficial/
Видео #08 Variables, Assignments & Dynamic Typing in Python | Python For Class 11 CBSE автора Python путь
Видео #08 Variables, Assignments & Dynamic Typing in Python | Python For Class 11 CBSE автора Python путь
Информация
2 декабря 2023 г. 18:46:26
00:11:31
Похожие видео