PYTHON PROGRAMMING CONTENT
Introduction to Programming
- What is Python?
- Setting up the environment
- Hello World & first programs
Basic Python Syntax
- Indentation
- Comments
- Input/Output
Variables and Data Types
- Declaring variables
- Numbers, strings, lists, tuples, dictionaries
- Type casting
- Dynamic typing
Python Operators
- Arithmetic, Comparison, Assignment
- Logical, Bitwise, Membership, Identity
Control Statements
- If, If-Else, Elif
- Nested If
Loops
- For and While loops
- Nested loops
- Break, Continue, Pass
Strings
- String operations and methods
- Slicing, formatting
Tuples
- Accessing, slicing, updating
- Tuple methods (max, min, in operator)
Lists
- List operations
- List methods
Dictionaries & Sets
- Dictionary operations / methods
- Set operations
Functions
- Defining & calling
- Arguments, return values
- Default/variable-length args
- Scope (global/local)
File Input/Output
- Reading/writing files
- Text, CSV basics
Advanced Topics
- Modules & Packages
- Exception Handling
- OOP Concepts: class, object, inheritance