Getting Started With Python
Getting Started With Python
PYTHON
PYTHON INTRODUCTION
F E AT U R E S O F P Y T H O N
SHORTCOMINGS OF PYTHON
HOW TO WORK IN PYTHON
BASICS OF PYTHON PROGRAMMING
Structure of Python Program
PYTHON CHARACTER SET
I N D E N TAT I O N
• Indentation refers to the spaces applied at the beginning of a
code line. In other programming languages the indentation in
code is for readability only, where as the indentation in Python is
very important. Python uses indentation to indicate a block of
code or used in block of codes.
TOKEN
KEYWORDS
• Reserve word of the
compiler/interprete
r which can’t be
used as identifier.
IDENTIFIERS
IDENTIFIERS-CONTINUE
LITERALS
LITERALS
• Escape
sequence/Back
slash character
constants
O P E R ATO R S
• Operators can be defined as symbols that are used to perform
operations on operands.
1 . A R I T H M E T I C O P E R ATO R S
2. RELATIONAL OPERATORS/COMPARISON OPERATOR
3 . AU G M E N T E D A S S I G N M E N T O P E R ATO R S
4 . LO G I C A L O P E R ATO R S
5 . M E M B E R S H I P O P E R ATO R S
• The membership operators in Python are used to validate
whether a value is found within a sequence such as such as
strings, lists, or tuples.
6 . I D E N T I T Y O P E R ATO R S