Notes By :- Mr.
Prasad Adsule
Lecture No.1
Sr.
content Description example
No.
Case sensitivity
It treats small and capital
1) proof
letters differently
Type() To check the type of
2)
function variable.
In Python, we don't need
Dynamically
to specify the type of
Typed feature
3) variable because Python
proof
is smart enough to get
variable type.
A name in python
program is called as an
identifier.
Identifier Naming
1). The only allowed
characters.
a. Alphabet (Lower/
Upper)
4) Identifiers
b. Digits (0 - 9)
c. Underscore (_)
2). Identifiers should not
start withs digits.
3). Identifiers are case
sensitive.
Sr.
content Description example
No.
-Python Keywords are
special reserved words
that convey a special
meaning to the
Reserved compiler/interpreter.
5) Keywords -Each keyword has a
special meaning and a
specific operation.
-These keywords can't be
used as a variable.
Object Identity
-used to identify the
object identifier.
-Python provides the
ID()
guaranteed that no two
Function
objects will have the
same identifier.
6)
a50 b The variable ‘b’ refers to
the same object that ‘a’
a=50 points to because Python
does not create another
object.
b=50
Used to
7) Swapping Interchange(swap) the
variable values
Sr.
content Description example
No.
Python allows us to
Assigning
assign a single value
single value to
8) to multiple variables
multiple
in a single
variables
statement.
Python allows us to
Assigning
assign multiple
multiple values
9) values to multiple
to multiple
variables in a single
variables:
statement.
Print () Print function is
10) Function used to print any
statement.
Two Methods to use print () function
Write the content
you want to see on
console in double
(i)
quotes “”
Write Variable name
or Expression
(" " ,)
(Operation you
want to perform)
after comma,
11)
Formatted string.
It is generating
string output on
console such that
(ii) variable value or
Expression results
(f” { } { } “) are generated inside
{ } and whole
sentence is printed
as string