21.11.2014 Views

Python Programming

Python Programming

Python Programming

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Python</strong> <strong>Programming</strong><br />

Basics<br />

Identifiers – A name to identify a variable, function, class,<br />

module, or object.<br />

• Starts with a letter A to Z or a to z or underscore(_)<br />

• Can be followed by zero or more letters, underscores and<br />

digits (0-9)<br />

• Case sensitive<br />

• Punctuation characters not allowed (@$%^&*!)<br />

Examples:<br />

Abc<br />

This_is_a_class<br />

C<br />

b<br />

14<br />

HP CONFIDENTIAL - ENABLEMENT ONLY, NOT FOR CUSTOMER USE.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!