Syntax Requirements: Indentation Unification constant: Constant quantity, usually denoted by the name of all uppercase variables: The first character must be a letter or an underscore, case-sensitiveother parts can consist of letters, underscores, or numbers
type (x)
data type (by feature)Number Type Shaping: Boolean (True, False) Long Shapingstandard Shaping (int) Non-Plastic Surgery Sequence typestring (str)Ganso (tuple)listing (list) Image TypeDictionary (dict)
data type (common) single value
number : integer, Long integer, float, plural boolean
string Collection
lists (list) , ganso (tuple) , Dictionary (dict), hash table
operator = = equals! = is not equal to <> not equal to = assignment + = addition assignment operator c+=a equivalent to C=c+a **= Power assignment operator c**a equivalent to C=c**a& Bitwise Operators
| by the operator in
10&15Binary conversions - - + -8421
0 0 001010= Ten
0 0 0 01111 =0 0 00 1010 10&15=10
Notes
#单行注释 ' multi-line comment '
python execution Process
load memory, this method analysis, parsing, compiling-byte code
From for notes (Wiz)
1-python syntax-Data type-operator-comment