Skip to content

Repository files navigation

Learn Python Roadmap

Learn Python banner

PythonRoadmap.shLessonsLicense

This repository is a beginner-friendly Python learning path built from the roadmap.sh Python roadmap. It turns the roadmap into ten short lessons with examples, explanations, and practice-ready notes.

The goal is simple: learn Python step by step, build confidence with the core basics, and keep every lesson small enough to study in one sitting.

What You Will Learn

  • Python syntax and how code is executed
  • Variables and core data types
  • Conditionals and decision making
  • Type casting and input handling
  • Exceptions and error handling
  • Functions, parameters, and built-in functions
  • Loops, break, continue, and nested repetition
  • Lists, tuples, and sets
  • Dictionaries and dictionary methods
  • Strings, slicing, and common string operations
  • Caesar ciphers, character shifting, and a first mini-project

Lessons

LessonTopicFormat
1Basic SyntaxMarkdown guide
2Variables and Data TypesMarkdown guide
3ConditionalsJupyter notebook + notes
4Type CastingMarkdown guide
5ExceptionsMarkdown guide
6Functions & Built-in FunctionsMarkdown guide + notebook
7LoopsMarkdown guide + notebook
8Lists, Tuples, and SetsMarkdown guide + notebooks
9DictionariesMarkdown guide + notebook
10Working with StringsMarkdown guide + notebook

Mini Projects

ProjectTopicsFormat
Secret Code Maker (Caesar Cipher)Encoding and decoding text, ord() and chr(), loops, conditionals, functions, user input, and while TrueMarkdown guide + Python script

Roadmap Flow

  1. Start with Lesson 1 to learn how Python reads code line by line.
  2. Move to Lesson 2 to understand variables and data types.
  3. Continue with Lesson 3 to practice if, elif, and else.
  4. Finish with Lesson 4 to convert values between strings, numbers, and booleans.
  5. Read Lesson 5 to handle runtime errors with try, except, else, and finally.
  6. Finish with Lesson 6 to write reusable functions and explore built-in helpers.
  7. Finish with Lesson 7 to repeat work with for and while loops, then control flow with break and continue.
  8. Finish with Lesson 8 to work with collections, including lists, tuples, and sets.
  9. Finish with Lesson 9 to store and manage key-value data with dictionaries.
  10. Finish with Lesson 10 to work with strings, slicing, formatting, and common text methods.
  11. Move to Mini Project 1 to build a Caesar cipher that encodes and decodes messages.

Repo Structure

python/
├── README.md
├── assets/
│ └── learn-python-banner.svg
├── lesson1/
│ └── readme.md
├── lesson2/
│ └── readme.md
├── lesson3/
│ ├── lesson3.ipynb
│ └── readme.md
├── lesson4/
│ └── readme.md
├── lesson5/
│ └── readme.md
├── lesson6/
│ └── readme.md
├── lesson7/
│ └── readme.md
├── lesson8/
│ ├── list.ipynb
│ ├── readme.md
│ ├── sets.ipynb
│ ├── task.py
│ └── tuple.ipynb
├── lesson9/
│ ├── dictionary.ipynb
│ ├── readme.md
│ └── task.py
└── lesson10/
├── readme.md
├── strings.ipynb
└── task.py
└── mini-project_1/
├── readme.md
└── Secret Code Maker (Caesar Cipher).py

How To Use

  • Read the root README first for the full path.
  • Open each lesson in order and follow the examples.
  • Practice the code snippets in your own editor or notebook.
  • Use the lesson notes as a reference while you build small exercises.

Why This Format Works

This structure keeps the roadmap focused on the essentials and makes it easy to publish on GitHub as a learning series. The banner and badges provide a clean front page, while the lesson folders keep the teaching material organized.

If you want, I can also make each lesson page link back to this main README and add next/previous navigation between lessons.

About

A curated collection of Python tutorials, coding exercises, and practical examples designed to strengthen programming fundamentals and problem-solving skills. This repository documents a structured learning journey suitable for beginners and interview preparation.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages