; Statement Separator¶
Separates two statements.
statement; another statement
Avoid having multiple statements on a single line.
Though the language definition allows one to use a semi-colon to delineate statements, doing so without reason makes one’s code harder to read. Typically violated with the previous rule.
>>> if this_is_bad_code: rewrite_code(); make_it_more_readable();
>>> if this_is_bad_code: ... rewrite_code() ... make_it_more_readable()