
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
Engage with Python through a guided series of programming tasks, Q&A support, and proposed solutions designed for readability and adherence to current Python standards.
This lesson teaches solving Python tasks by trimming spaces and checking substrings, with task types: assign a result to a variable or implement a contains substring function with case-insensitive matching.
Learn how strings in Python store a collection of one or more characters using single, double, and triple quotes, including multiline values and rope strings.
Discover Python's three numeric types—integers, floating-point numbers, and complex numbers—and learn how they differ in representation and use.
Learn how tuples represent a collection of items of any data type, separated by commas and enclosed in parentheses. Discover immutability, 1-element tuples with trailing comma, and indexing behavior.
Explore Python lists as a collection of items in square brackets separated by commas, with mixed types allowed, lists are mutable, and element order is preserved.
Set is a collection of unique items, enclosed in curly brackets, with multiple types, no duplicates, and unordered, mutable behavior; empty curly braces form a dictionary.
Learn how dictionaries store key-value pairs inside curly braces and preserve insertion order. Understand that keys must be unique and hashable, values can be any type, and dictionaries are immutable.
Explore a Python object oriented programming exercise, building a class with attributes and methods as described in the assignment. Verify your implementation with the provided solution and video.
Define a ship class with damage and a do damage method, extend to battleship and big battleship with special and bomb damage using super, and add cargo ship with capacity.
Unlike many online courses that focus heavily on theory, this hands-on program guides you step-by-step through a carefully structured collection of programming tasks. Throughout the course, you will work through 100 practical coding exercises designed to help you learn, strengthen, and master the core Python data types:
String
Number
Tuple
List
Set
Dictionary
Each exercise focuses on real-world scenarios that new and aspiring Python programmers commonly encounter. Whether you’re just starting out or already have some experience, you’ll find tasks suited to your skill level—from simple manipulations and basic operations to more challenging problems that encourage deeper understanding and creative thinking.
To support your learning process, every exercise comes with a clean, well-written solution that follows current Python best practices and coding standards. These solutions allow you to verify your answers, compare different approaches, and adopt professional coding habits as you progress.
By working through these exercises, you will not only become more confident using Python’s fundamental data types but also develop problem-solving skills that transfer to any programming project. This course offers a practical, effective way to test, reinforce, and expand your knowledge—ensuring you build a strong foundation for further Python development.
Whether your goal is to prepare for coding interviews, improve your workflow, or gain a deeper understanding of how Python handles data, this exercise-driven course provides the guidance and practice you need to grow as a programmer.