Course

Python for Beginners

Learn Python by reading, running, and adapting small programs, from installation and values to a useful command-line project.

<p>This course assumes no prior programming experience. Work through the lessons in order, type each example yourself, and change one detail at a time.</p>

Prerequisites

A computer with Python 3 installed and a text editor. No prior coding experience is required.

Estimated study time: 600 minutes

Published lessons: 12

Syllabus

  1. Getting ready

    <p>Set up a repeatable way to run Python, then learn how names connect a program to its values.</p>
  2. Working with values

    <p>Choose the right kind of value and use comparisons to make a program respond to data.</p>
  3. Repeating and organizing work

    <p>Repeat a task without copying lines, then give reusable operations names and parameters.</p>
  4. Collections and text

    <p>Store related values in lists and dictionaries, then inspect and transform text safely.</p>
  5. Files, errors, and a project

    <p>Keep data beyond one run, respond clearly to expected failures, and combine the course ideas.</p>