Mega Code Archive

 
Categories / Python Tutorial / Introduction
 

Statements and Syntax

Hash mark ( # ) indicates Python comments NEWLINE ( \n ) is the standard line separator (one statement per line) Backslash ( \ ) continues a line Semicolon ( ; ) joins two statements on a line Colon ( : ) separates a header line from its suite Statements (code blocks) grouped as suites Suites delimited via indentation Python files organized as modules