#python #Django #DjangorestFramework#codingprogramming#AI#machinelearning#leavethejobandstartcoding
A name in Python program is called identifier
Python uses = to assign value to variable
No need to declare the data type of variable in python
Assigning initial value is compulsory
The only allowed character in python are
Alphabet Symbols(Either upper case or lower case)
Digits(0-9)
Underscore symbol (_)
If we use special symbol then we will get a syntax error
Identifier should not start with digit
Identifiers are case sensitive
If identifier starts with _ symbol then it will be a private variable
Reserved key words are not allowed to use as variable name/identifier
There is no length limit for identifier
Example of different valid and invalid python identifiers
If an identifier starts with double underscore (__) then it is called strongly private variable
If identifier starts with double underscore and ends with double underscore then it is called magic method. (__name__, __str__, __add__)
En esta página del sitio puede ver el video en línea Python #1 Easy Tutorial for absolute beginners - identifiers and variable declaration de Duración hora minuto segunda en buena calidad , que subió el usuario sulfursoft 27 junio 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 66 veces y le gustó 3 a los espectadores. Disfruta viendo!