top of page

Python Practice - Series One
Sharpen your Python skills with Series One of our practice collection! Solve curated coding exercises and challenges designed to test and improve your core programming concepts.


Python Practice Set (Part 20): Introduction to Web Scraping
Web Scraping. This is the art of writing a script to automatically visit a website and extract specific information from its HTML structure. It's a powerful technique used for market research, price comparison, data journalism, and much more.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 19): Decorators and Generators
Decorators: A way to add new functionality to an existing function without modifying its source code.
Generators: A special type of function that allows you to work with large sequences of data without storing them all in memory at once.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 18): Working with CSV Files
Knowing how to read, process, and write CSV files is a non-negotiable skill for any data-focused programmer. In this set, we'll master Python's built-in csv module to handle tabular data with ease.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 17): Common Algorithms & Data Processing
the kind of logic puzzles you'll encounter in technical interviews and real-world data manipulation tasks. We'll be finding patterns, reorganizing data, and building foundational algorithmic thinking skills.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 16): Mastering Regular Expressions (Regex)
Regex is a special sequence of characters that defines a search pattern, acting like a super-powered "find and replace." It's an indispensable tool for data validation, web scraping, and data cleaning. In this set, we'll explore Python's built-in re module to unlock this power.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 15): Pythonic Programming
This practice set focuses on four powerful tools that help you write more Pythonic code: List Comprehensions, Lambda Functions, map, and filter. These will allow you to perform complex operations on data with incredibly concise and elegant syntax.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 14): Working with APIs and JSON
An API is like a menu that a web service provides for us to request data. The data is usually returned in a format called JSON(JavaScript Object Notation), which looks very similar to Python dictionaries and lists.
In this set, you'll learn how to parse JSON and make live API calls to fetch data from the internet, a crucial skill for any developer.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 13): Error Handling and Exceptions
Exception Handling allows you to gracefully manage these errors instead of letting your program crash. By learning to use try, except, else, and finally, you can build resilient and user-friendly applications.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 12): Fundamental Data Structures (Stacks & Queues)
In this session, we'll build two of the most fundamental data structures from scratch using Python lists: the Stack (Last-In, First-Out) and the Queue (First-In, First-Out). Understanding these concepts is essential for solving a wide range of programming puzzles and real-world problems.
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 11): OOP Inheritance
Inheritance allows a new "child" class to take on all the attributes and methods of a "parent" class, letting you reuse code and build logical relationships between your objects. Let's explore this powerful OOP principle
Anubhav Somani
Sep 32 min read


Python Practice Set (Part 10): Introduction to Object-Oriented Programming (OOP)
Welcome to Part 10 of our Python practice series! We're now moving from writing scripts to building structured programs. Object-Oriented Programming (OOP) is a paradigm for organizing code around "objects," which can be thought of as custom data types.
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 9): Working with Files
programs have worked only with data in memory, which disappears when the script ends. To make your applications truly powerful, you need to work with files. This allows you to save your results, read configuration settings, and process large amounts of data.
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 8): Exploring Modules and Standard Libraries
By learning how to import these modules, you can instantly gain new powers, from generating random numbers to performing complex math and working with dates. Let's explore how to use them!
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 7): Mastering Functions
Mastering functions is the single most important step to writing clean, organized, and efficient code. This practice set will guide you through defining functions, passing arguments, returning values, and understanding variable scope.
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 6): Slicing, Unpacking, and Set Logic
we're diving into practical, action-oriented challenges that showcase the power and elegance of Python's built-in data types. You'll learn how to clean up messy string data, extract specific subsets from lists, safely update dictionaries, and use the power of sets to compare data.
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 5): Data Puzzles & Practical Manipulation
In this set, we'll explore powerful techniques like list comprehensions, merging dictionaries, handling nested data structures, and writing robust code that can handle errors.
Anubhav Somani
Sep 22 min read


Python Practice Set (Part 4): Variables & Data Types
In this practice set, we move beyond basic assignments to tackle problems that mirror real-world coding scenarios. You'll learn how to parse data from strings, manage ordered lists, understand the power of unchangeable tuples
Anubhav Somani
Sep 12 min read


Python Practice Set (Part 3): Variables & Data Types
Python practice set! The absolute foundation of any programming language is understanding how to store and manage information. In Python, we do this with variables and data types. This workout is designed to solidify your understanding of core types like strings, integers, floats, lists, and dictionaries. Let's get started!
Anubhav Somani
Sep 12 min read


Practice Questions on -Python Variables & Data Types Part -1
Here is a new set of Python questions focusing specifically on variables and data types.
Anubhav Somani
Sep 12 min read


Python Practice Questions Part -1
Here are some Python coding questions ranging from beginner to intermediate levels to practice your skills.
Anubhav Somani
Sep 12 min read
bottom of page