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
-
Getting ready
<p>Set up a repeatable way to run Python, then learn how names connect a program to its values.</p> -
Working with values
<p>Choose the right kind of value and use comparisons to make a program respond to data.</p> -
Repeating and organizing work
<p>Repeat a task without copying lines, then give reusable operations names and parameters.</p> -
Collections and text
<p>Store related values in lists and dictionaries, then inspect and transform text safely.</p> -
Files, errors, and a project
<p>Keep data beyond one run, respond clearly to expected failures, and combine the course ideas.</p>