Python Lecture 2
Notes
Tokens are
Smallest
Individual unit
in a python
program .
• It Is Of 4 Different Types -
• 1. Keywords.
• 2. Identifiers.
• 3. Literals , and ,
• 4. Operators
OBJECT ORIENTED
PROGRAMMING
IN PYTHON
CLASSES IN PYTHON
Class is a template or a blue – print for
real world entity .
• It works in two parts -
• Behavior – Its Basic Features .
• Properties - Its Basic Properties .
But , what
actually is a
class in python
?
• Class is a user – defined data type in python
, and what actually a data - type include ,
we have already studied it in lecture 1.
• It Has some of its attributes and methods.
And , What are
objects in
python ? • Objects in python are specific instances of a
class .
Thank you
Meet You IN Next Lecture

Python Lecture Notes.pptx