The second chapter zero-based learning Python-:. Python basic grammar -06-defined variables and common operations


The principle of network bandwidth calculator









contents of the output with print


introduced variables, writing in front of a variable, is a meaningful word. The value assigned to the variable 123 that a


following code readability is much higher than the above.



 

Other variables required knowledge points


This is generally used as temporary variables, use after completion, this variable has no effect, and this will generally be represented by a single English characters.


Generally clear sense to use English characters.

There is another way in camel named,

each letter underlined spaced manner


begins with the letters and underscore, among contain alphanumeric and

begin with an underscore are generally special meaning python inside, so we rarely use an underscore as the variable name.




 

End





 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11924184.html