#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__)
Auf dieser Seite können Sie das Online-Video Python #1 Easy Tutorial for absolute beginners - identifiers and variable declaration mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer sulfursoft 27 Juni 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 66 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!