Python Tutorial
Beginner-friendly Python curriculum: syntax through modules, testing nudges, and pragmatic packaging orientation.
Lesson outline
-
1
Python Tutorial Home
Orientation for the Python track — how lessons are ordered and how to practice alongside quizzes.
-
2
Python Syntax
Indentation, statements, comments, and running short programs.
-
3
Python Variables
Names, assignment, rebinding, and mutability intuition.
-
4
Python Data Types
Hands-on tour of int, float, str, bool, list, tuple, dict, and None — with runnable snippets.
-
5
Python Operators
Arithmetic, comparisons, logical operators, and precedence highlights.
-
6
Python Conditionals
<code>if</code>/<code>elif</code>/<code>else</code>, guards, and conditional expressions.
-
7
Python Loops
<code>for</code>, <code>while</code>, <code>range</code>, <code>break</code>/<code>continue</code>, and iteration idioms.
-
8
Python Functions
<code>def</code>, parameters, return values, scope basics, and docstrings.
-
9
Python Modules
Imports, packages, <code>__name__</code> guard, and virtual environments overview.
-
10
Python Classes
<code>class</code>, instances, methods, <code>self</code>, and simple inheritance.
-
11
Python Tutorial — Draft 001
stub slot — publish after replacing body from console (python-draft-001)
-
12
Python Tutorial — Draft 002
stub slot — publish after replacing body from console (python-draft-002)
-
13
Python Tutorial — Draft 003
stub slot — publish after replacing body from console (python-draft-003)
-
14
Python Tutorial — Draft 004
stub slot — publish after replacing body from console (python-draft-004)
-
15
Python Tutorial — Draft 005
stub slot — publish after replacing body from console (python-draft-005)
-
16
Python Tutorial — Draft 006
stub slot — publish after replacing body from console (python-draft-006)
-
17
Python Tutorial — Draft 007
stub slot — publish after replacing body from console (python-draft-007)
-
18
Python Tutorial — Draft 008
stub slot — publish after replacing body from console (python-draft-008)
-
19
Python Tutorial — Draft 009
stub slot — publish after replacing body from console (python-draft-009)
-
20
Python Tutorial — Draft 010
stub slot — publish after replacing body from console (python-draft-010)
-
21
Python Tutorial — Draft 011
stub slot — publish after replacing body from console (python-draft-011)
-
22
Python Tutorial — Draft 012
stub slot — publish after replacing body from console (python-draft-012)
-
23
Python Tutorial — Draft 013
stub slot — publish after replacing body from console (python-draft-013)
-
24
Python Tutorial — Draft 014
stub slot — publish after replacing body from console (python-draft-014)
-
25
Python Tutorial — Draft 015
stub slot — publish after replacing body from console (python-draft-015)
-
26
Python Tutorial — Draft 016
stub slot — publish after replacing body from console (python-draft-016)
-
27
Python Tutorial — Draft 017
stub slot — publish after replacing body from console (python-draft-017)
-
28
Python Tutorial — Draft 018
stub slot — publish after replacing body from console (python-draft-018)
-
29
Python Tutorial — Draft 019
stub slot — publish after replacing body from console (python-draft-019)
-
30
Python Tutorial — Draft 020
stub slot — publish after replacing body from console (python-draft-020)
-
31
Python Tutorial — Draft 021
stub slot — publish after replacing body from console (python-draft-021)
-
32
Python Tutorial — Draft 022
stub slot — publish after replacing body from console (python-draft-022)
-
33
Python Tutorial — Draft 023
stub slot — publish after replacing body from console (python-draft-023)
-
34
Python Tutorial — Draft 024
stub slot — publish after replacing body from console (python-draft-024)
-
35
Python Tutorial — Draft 025
stub slot — publish after replacing body from console (python-draft-025)
-
36
Python Tutorial — Draft 026
stub slot — publish after replacing body from console (python-draft-026)
-
37
Python Tutorial — Draft 027
stub slot — publish after replacing body from console (python-draft-027)
-
38
Python Tutorial — Draft 028
stub slot — publish after replacing body from console (python-draft-028)
-
39
Python Tutorial — Draft 029
stub slot — publish after replacing body from console (python-draft-029)
-
40
Python Tutorial — Draft 030
stub slot — publish after replacing body from console (python-draft-030)
-
41
Python Tutorial — Draft 031
stub slot — publish after replacing body from console (python-draft-031)
-
42
Python Tutorial — Draft 032
stub slot — publish after replacing body from console (python-draft-032)
-
43
Python Tutorial — Draft 033
stub slot — publish after replacing body from console (python-draft-033)
-
44
Python Tutorial — Draft 034
stub slot — publish after replacing body from console (python-draft-034)
-
45
Python Tutorial — Draft 035
stub slot — publish after replacing body from console (python-draft-035)
-
46
Python Tutorial — Draft 036
stub slot — publish after replacing body from console (python-draft-036)
-
47
Python Tutorial — Draft 037
stub slot — publish after replacing body from console (python-draft-037)
-
48
Python Tutorial — Draft 038
stub slot — publish after replacing body from console (python-draft-038)
-
49
Python Tutorial — Draft 039
stub slot — publish after replacing body from console (python-draft-039)
-
50
Python Tutorial — Draft 040
stub slot — publish after replacing body from console (python-draft-040)
-
51
Python Tutorial — Draft 041
stub slot — publish after replacing body from console (python-draft-041)
-
52
Python Tutorial — Draft 042
stub slot — publish after replacing body from console (python-draft-042)