Python
Programming language
What is Python?
Feature of Python?
Python
Domain
 Data Analysis
 AI / ML
 Web Apps
 Mobile Apps
Companies used Python
Disadvantage:
 Slow
 Difficulty in using
other language
 Weak in mobile
computing
 Runtime error
Syntax and Semantic
Variable names
Data Type
1. Primitive
1.1 Integers
1.2 Float
1.3 Strings
1.4 Boolean
2. Non-primitive
2.1 Lists
2.2 Tuples
2.3 Sets
2.4 Dictionary
Index
Python has a Built-In function type()
Scope
 Local scope
 Enclosed scope
 Global scope
 Built-In scope
Comparison
Operator
Code in Python:
Code in Java:
Binding
Code: Output:
Aliasing
Code: Code:
Output: Output:
- id(x)
-Coby(x)
Subprogram
 Parameter Passing is by
reference
 Referencing is dynamic
 Default value
 Star for optional and multiple
 Return multiple value or no value
Control
Structure
if-else statement  as two way selector
if-elif statement  multiple way selector
Selection
Statements
Iteration
Structures
For Loop In Python  counter controlled loop
While Loop  logically controlled loop
Jump
Statements
 Break
 Continue
 pass
Support
for
Object-
Oriented

Python Programming language