Skip to content

TylerM2230/interactive-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Guide to Python

A web-based educational platform for learning Python programming through structured lessons and hands-on examples.

Overview

This project provides 23 interconnected lessons covering Python fundamentals through advanced topics. Each lesson follows a research-based pedagogical approach: concept introduction, mental model building, interactive practice, common pitfalls, and assessment.

Key Features

  • Pedagogical Structure: Mental model first approach with physical metaphors
  • Complete Coverage: 23 lessons from basics to object-oriented programming
  • Interactive Elements: Code examples, visualizations, and practice exercises
  • Mobile Responsive: Optimized for learning on any device
  • 8-bit Aesthetic: Clean design with retro styling using Press Start 2P font

Project Structure

interactive-python/
├── index.html              # Main navigation hub
├── pages/                  # Individual lesson pages
│   ├── intro-programming.html
│   ├── variables-types.html
│   ├── functions.html
│   ├── oop-basics.html
│   └── [19 more lessons]
├── css/
│   └── shared-styles.css   # Common styling
├── js/
│   └── main.js            # Shared utilities
└── README.md

Technologies

  • HTML5/CSS3: Static pages with responsive design
  • JavaScript: Interactive elements and visualizations
  • Press Start 2P: 8-bit style headers
  • Courier New: Monospace body text

Content Organization

Foundation (7 lessons)

Core programming concepts with computer thinking fundamentals:

  • Introduction to Programming & Python
  • Variables & Data Types
  • String Operations
  • Booleans & Conditionals
  • Loops
  • Lists & Iteration
  • Functions

Intermediate (5 lessons)

Advanced patterns and professional practices:

  • Nested Conditionals
  • Nested Loops
  • Error Handling
  • File Handling
  • Random Module

Advanced (9 lessons)

Data structures and algorithms:

  • Dictionaries & Tuples
  • 2D Lists
  • Data Structures (Sets, Stacks, Queues)
  • Recursion
  • Trees
  • Graphs
  • Basic Sorting Algorithms
  • Advanced Sorting & Algorithms
  • Binary Search

Object-Oriented Programming (2 lessons)

Professional code organization:

  • OOP Basics
  • Advanced OOP Concepts

Running the Project

Open index.html in any modern web browser. No build process or server required.

Educational Approach

Each lesson follows a structured pattern:

  1. Problem Motivation - Why the concept exists
  2. Mental Model - Conceptual foundation with metaphors
  3. Syntax Introduction - Python implementation
  4. Interactive Practice - Hands-on exercises
  5. Common Pitfalls - Error prevention
  6. Assessment - Knowledge verification

Design Philosophy

  • Concept before syntax: Understanding before implementation
  • Mental models: Physical metaphors for abstract concepts
  • Progressive complexity: Each lesson builds on previous knowledge
  • Error prevention: Explicit coverage of common mistakes
  • Mobile-first: Accessible learning anywhere

About

interactive site for exploring various Python concepts from core concepts to OOP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors