Object
Python makes everything that is used in the program an object.
Every thing includes a number, a string, or even a function is an object.
You only need to assign a value to them when using variables. You do not need to declare or define a data type.
Logical lines vs. physical lines
The physical line is what you see when you write the program. The logical line is a single statement that the Py Thon sees. Python assumes that each physical line corresponds to a logical line, the default,
Python expects to use only one statement per line.
If you want to use an extra logical line in a physical line, you need to use a semicolon (;) to specifically indicate this usage.
i=5;
Print I
Explicit row connections,
S= ' This is a string.\
This count '
Print S
Sometimes, a hint of the hypothesis that you do not need to use backslashes, which is used when parentheses, brackets, or curly braces in the logical line, this becomes a hint of the line connection.
The indentation of Python is strict.
Statements of the same level must have the same indentation, and each group of such languages becomes a block.
Python Basic Knowledge II