variables and assignments

Опубликовано: 15 Июнь 2020
на канале: codetyro
184
8

This video thoroughly explains everything about variables and assignments.

It tells you the following in detail :
1. what is a variable
2. how do we create one
3. how variables are created and handled in python
4. how other languages create variables
5. multiple assignments
6. variable definition
7. dynamic typing
8. caution with dynamic typing.


question 1)

p,q=3,5
q,r=p-2,p+2
print(p,q,r)

question 2)

x,x=20,30
y,y=x+20,x+30
print(x,y)