python line structure

Program each statement ends with a newline.

Use ULink \ long statements can be divided into several lines

Generally, enclosed in parentheses (...), the square brackets [...], braces {...} or any part of the program can be three quotes on several lines,

Without the need to use the line continuation character, because they clearly indicate the start and end definition. 

Placing a plurality of statements in a row, by a semicolon (;) separating each statement

 

Identifiers are case sensitive, FOO and foo are two different identifiers

Guess you like

Origin www.cnblogs.com/wanshuduner/p/10991284.html