Skip to content
    SeaCode
    Learning tracksCode ArenaWorkshops & EventsInstructors
    Log inSign up
    Interactive tutorials / Python
    Py

    Python

    25 lessons from your first print to functions, collections, files, JSON, classes and testing, with visuals, exercises and a grade-report project.

    Start the first lesson

    Every chapter is an island. Finish its lessons, beat its challenge, and sail on ⛵

    ⛵ You are here
    🏝️

    Island 1

    Getting started

    0/4
    1. Your first Python programWhat Python is used for, print, and comments.6 min3 🎮
    2. Variables and typesStore values and check their type with type().8 min3 🎮
    3. Numbers and operatorsTrue and floor division, remainder, powers and round.7 min3 🎮
    4. Type conversion and inputint, float and str, and why input always returns text.7 min3 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 2

    Strings

    0/3
    1. Strings and f-stringsPut variables inside text, plus handy string tools.6 min3 🎮
    2. String indexing and slicingSelect characters and slices, including their boundaries.8 min3 🎮
    3. Cleaning and splitting stringsstrip, split, join, searching and replacement.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 3

    Control flow

    0/3
    1. Conditions: if, elif and elseIn Python indentation isn't style; it's part of the code.7 min3 🎮
    2. Loops: for and whilerange, and looping over things.8 min3 🎮
    3. Loop control and nestingStop a search, skip an item and nest loops.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 4

    Functions

    0/2
    1. Functions with defWrite code once, use it many times.8 min3 🎮
    2. Parameters and scopeDefaults, keyword arguments and local variables.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 5

    Collections

    0/4
    1. ListsA list of values: add, remove and loop.8 min3 🎮
    2. DictionariesKeys and values: a small lookup table.7 min2 🎮
    3. Tuples and setsFixed sequences and collections of unique values.8 min2 🎮
    4. Comprehensions, enumerate and zipTransform, filter and pair collections.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 6

    Errors, files and libraries

    0/4
    1. Handling exceptionstry, except, else and finally without hiding errors.8 min2 🎮
    2. Modules and the standard libraryImport existing tools and organize files.8 min2 🎮
    3. Reading and writing fileswith, encoding and file lifetime.8 min2 🎮
    4. Exchanging data with JSONConvert JSON strings to dictionaries and back.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 7

    Objects and lazy iteration

    0/3
    1. Classes and objectsGroup state and behavior in one object.8 min2 🎮
    2. Inheritance and compositionReuse behavior with an appropriate relationship.8 min2 🎮
    3. Iterators and generatorsProduce values one at a time with yield.8 min2 🎮
    Island challenge (Boss)+30 XP
    🏝️

    Island 8

    Testing and project

    0/2
    1. Testing and project setupNormal cases, boundaries, expected errors and an isolated environment.8 min1 🎮
    2. Project: a grade reportUse everything you learned in a small real program.10 min1 🎮
    SeaCode

    Learn to code for real, online or at our branch in front of Cairo University, Giza.

    Learn

    • All courses
    • Interactive tutorials
    • Interview practice problems
    • Mock interview
    • Learning tracks
    • Code Arena
    • Workshops & Events
    • Knowledge library
    • Team projects

    Your account

    • Log in
    • Sign up
    • Learning plan
    • Certificates
    • Site map

    Contact us

    • WhatsApp
    • 010 9094 1104
    • In front of Cairo University, Giza

    © 2026 SeaCode. All rights reserved.