- [Python Projects]
Python is a high-level, general-purpose programming language known for its readability and ease of use. It was created by Guido van Rossum in the late 1980s and has gained immense popularity in recent years due to its versatility and powerful libraries.
The course is divided into several chapters, each focusing on different aspects of Python programming:
- Chapter 1: Modules, Comments & pip
- Writing the first Python program
- Understanding modules
- Using pip for package management
- Using Python as a calculator
- Comments in Python
- Chapter 2: Variables and Data Types
- Defining variables
- Different data types in Python
- Rules for choosing an identifier
- Operators in Python
- Using
type()
function and typecasting input()
function
- Chapter 3: Strings
- String slicing
- Slicing with skip values
- String functions
- Escape sequence characters
- Chapter 4: Lists and Tuples
- List indexing
- List methods
- Tuples in Python
- Tuple methods
- Chapter 5: Dictionary & Sets
- Properties of dictionaries
- Dictionary methods
- Sets in Python
- Properties and operations on sets
- Chapter 6: Conditional Expression
if
,else
, andelif
statements- Relational and logical operators
- Chapter 7: Loops in Python
while
loopfor
looprange()
functionfor
loop withelse
- Break, continue, and pass statements
- Chapter 8: Functions & Recursions
- Defining and calling functions
- Recursion in Python
- Chapter 9: File I/O
- Reading and writing files
- Working with directories
- Chapter 10: Object-Oriented Programming
- Classes and objects
- Methods and attributes
- Chapter 11: Inheritance & More on OOPs
- Inheritance
- Polymorphism
- Operator overloading
- Chapter 12: Advanced Python 1
- Newly added features in Python
- Walrus operator
- Advanced type hints
- Match case
- Dictionary merge & update operators
- Exception handling enhancements
- Global keyword and enumerate function
- List comprehensions
- Chapter 13: Advanced Python 2
- Virtual environments
- Lambda functions
- String methods:
join
andformat
- Functional programming:
map
,filter
, andreduce
- Project 1: Snake Water Gun Game
- A fun and interactive game where the player competes against the computer in a variation of Rock-Paper-Scissors.
- Project 2: Guess The Number
- A guessing game where the player tries to guess a randomly generated number within a certain range.
Each chapter contains problem sets to test your understanding and to practice coding. The problem sets include various challenges and exercises relevant to the chapter's content.