#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__)
На этой странице сайта вы можете посмотреть видео онлайн Python #1 Easy Tutorial for absolute beginners - identifiers and variable declaration длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь sulfursoft 27 Июнь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 66 раз и оно понравилось 3 зрителям. Приятного просмотра!