#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__)
In questa pagina del sito puoi guardare il video online Python #1 Easy Tutorial for absolute beginners - identifiers and variable declaration della durata di ore minuti seconda in buona qualità , che l'utente ha caricato sulfursoft 27 giugno 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 66 volte e gli è piaciuto 3 spettatori. Buona visione!