Maintenance

Site is under maintenance — quizzes are still available.

Go to quizzes
Sponsored Reserved space — layout preview until AdSense is connected
Python · Fundamentals

Python Tutorial

Beginner-friendly Python curriculum: syntax through modules, testing nudges, and pragmatic packaging orientation.

Sponsored

Sponsored Reserved space — layout preview until AdSense is connected

Lesson outline

  1. 1
    Python Tutorial Home

    Orientation for the Python track — how lessons are ordered and how to practice alongside quizzes.

  2. 2
    Python Syntax

    Indentation, statements, comments, and running short programs.

  3. 3
    Python Variables

    Names, assignment, rebinding, and mutability intuition.

  4. 4
    Python Data Types

    Hands-on tour of int, float, str, bool, list, tuple, dict, and None — with runnable snippets.

  5. 5
    Python Operators

    Arithmetic, comparisons, logical operators, and precedence highlights.

  6. 6
    Python Conditionals

    <code>if</code>/<code>elif</code>/<code>else</code>, guards, and conditional expressions.

  7. 7
    Python Loops

    <code>for</code>, <code>while</code>, <code>range</code>, <code>break</code>/<code>continue</code>, and iteration idioms.

  8. 8
    Python Functions

    <code>def</code>, parameters, return values, scope basics, and docstrings.

  9. 9
    Python Modules

    Imports, packages, <code>__name__</code> guard, and virtual environments overview.

  10. 10
    Python Classes

    <code>class</code>, instances, methods, <code>self</code>, and simple inheritance.

  11. 11
    Python Tutorial — Draft 001

    stub slot — publish after replacing body from console (python-draft-001)

  12. 12
    Python Tutorial — Part 001

    Placeholder slot — edit in console (python-stub-001).

  13. 13
    Python Tutorial — Draft 002

    stub slot — publish after replacing body from console (python-draft-002)

  14. 14
    Python Tutorial — Part 002

    Placeholder slot — edit in console (python-stub-002).

  15. 15
    Python Tutorial — Draft 003

    stub slot — publish after replacing body from console (python-draft-003)

  16. 16
    Python Tutorial — Part 003

    Placeholder slot — edit in console (python-stub-003).

  17. 17
    Python Tutorial — Draft 004

    stub slot — publish after replacing body from console (python-draft-004)

  18. 18
    Python Tutorial — Part 004

    Placeholder slot — edit in console (python-stub-004).

  19. 19
    Python Tutorial — Draft 005

    stub slot — publish after replacing body from console (python-draft-005)

  20. 20
    Python Tutorial — Part 005

    Placeholder slot — edit in console (python-stub-005).

  21. 21
    Python Tutorial — Draft 006

    stub slot — publish after replacing body from console (python-draft-006)

  22. 22
    Python Tutorial — Part 006

    Placeholder slot — edit in console (python-stub-006).

  23. 23
    Python Tutorial — Draft 007

    stub slot — publish after replacing body from console (python-draft-007)

  24. 24
    Python Tutorial — Part 007

    Placeholder slot — edit in console (python-stub-007).

  25. 25
    Python Tutorial — Draft 008

    stub slot — publish after replacing body from console (python-draft-008)

  26. 26
    Python Tutorial — Part 008

    Placeholder slot — edit in console (python-stub-008).

  27. 27
    Python Tutorial — Draft 009

    stub slot — publish after replacing body from console (python-draft-009)

  28. 28
    Python Tutorial — Part 009

    Placeholder slot — edit in console (python-stub-009).

  29. 29
    Python Tutorial — Draft 010

    stub slot — publish after replacing body from console (python-draft-010)

  30. 30
    Python Tutorial — Part 010

    Placeholder slot — edit in console (python-stub-010).

  31. 31
    Python Tutorial — Draft 011

    stub slot — publish after replacing body from console (python-draft-011)

  32. 32
    Python Tutorial — Part 011

    Placeholder slot — edit in console (python-stub-011).

  33. 33
    Python Tutorial — Draft 012

    stub slot — publish after replacing body from console (python-draft-012)

  34. 34
    Python Tutorial — Part 012

    Placeholder slot — edit in console (python-stub-012).

  35. 35
    Python Tutorial — Draft 013

    stub slot — publish after replacing body from console (python-draft-013)

  36. 36
    Python Tutorial — Part 013

    Placeholder slot — edit in console (python-stub-013).

  37. 37
    Python Tutorial — Draft 014

    stub slot — publish after replacing body from console (python-draft-014)

  38. 38
    Python Tutorial — Part 014

    Placeholder slot — edit in console (python-stub-014).

  39. 39
    Python Tutorial — Draft 015

    stub slot — publish after replacing body from console (python-draft-015)

  40. 40
    Python Tutorial — Part 015

    Placeholder slot — edit in console (python-stub-015).

  41. 41
    Python Tutorial — Draft 016

    stub slot — publish after replacing body from console (python-draft-016)

  42. 42
    Python Tutorial — Part 016

    Placeholder slot — edit in console (python-stub-016).

  43. 43
    Python Tutorial — Draft 017

    stub slot — publish after replacing body from console (python-draft-017)

  44. 44
    Python Tutorial — Part 017

    Placeholder slot — edit in console (python-stub-017).

  45. 45
    Python Tutorial — Draft 018

    stub slot — publish after replacing body from console (python-draft-018)

  46. 46
    Python Tutorial — Part 018

    Placeholder slot — edit in console (python-stub-018).

  47. 47
    Python Tutorial — Draft 019

    stub slot — publish after replacing body from console (python-draft-019)

  48. 48
    Python Tutorial — Part 019

    Placeholder slot — edit in console (python-stub-019).

  49. 49
    Python Tutorial — Draft 020

    stub slot — publish after replacing body from console (python-draft-020)

  50. 50
    Python Tutorial — Part 020

    Placeholder slot — edit in console (python-stub-020).

  51. 51
    Python Tutorial — Draft 021

    stub slot — publish after replacing body from console (python-draft-021)

  52. 52
    Python Tutorial — Part 021

    Placeholder slot — edit in console (python-stub-021).

  53. 53
    Python Tutorial — Draft 022

    stub slot — publish after replacing body from console (python-draft-022)

  54. 54
    Python Tutorial — Part 022

    Placeholder slot — edit in console (python-stub-022).

  55. 55
    Python Tutorial — Draft 023

    stub slot — publish after replacing body from console (python-draft-023)

  56. 56
    Python Tutorial — Part 023

    Placeholder slot — edit in console (python-stub-023).

  57. 57
    Python Tutorial — Draft 024

    stub slot — publish after replacing body from console (python-draft-024)

  58. 58
    Python Tutorial — Part 024

    Placeholder slot — edit in console (python-stub-024).

  59. 59
    Python Tutorial — Draft 025

    stub slot — publish after replacing body from console (python-draft-025)

  60. 60
    Python Tutorial — Part 025

    Placeholder slot — edit in console (python-stub-025).

  61. 61
    Python Tutorial — Draft 026

    stub slot — publish after replacing body from console (python-draft-026)

  62. 62
    Python Tutorial — Part 026

    Placeholder slot — edit in console (python-stub-026).

  63. 63
    Python Tutorial — Draft 027

    stub slot — publish after replacing body from console (python-draft-027)

  64. 64
    Python Tutorial — Part 027

    Placeholder slot — edit in console (python-stub-027).

  65. 65
    Python Tutorial — Draft 028

    stub slot — publish after replacing body from console (python-draft-028)

  66. 66
    Python Tutorial — Part 028

    Placeholder slot — edit in console (python-stub-028).

  67. 67
    Python Tutorial — Draft 029

    stub slot — publish after replacing body from console (python-draft-029)

  68. 68
    Python Tutorial — Part 029

    Placeholder slot — edit in console (python-stub-029).

  69. 69
    Python Tutorial — Draft 030

    stub slot — publish after replacing body from console (python-draft-030)

  70. 70
    Python Tutorial — Part 030

    Placeholder slot — edit in console (python-stub-030).

  71. 71
    Python Tutorial — Draft 031

    stub slot — publish after replacing body from console (python-draft-031)

  72. 72
    Python Tutorial — Part 031

    Placeholder slot — edit in console (python-stub-031).

  73. 73
    Python Tutorial — Draft 032

    stub slot — publish after replacing body from console (python-draft-032)

  74. 74
    Python Tutorial — Part 032

    Placeholder slot — edit in console (python-stub-032).

  75. 75
    Python Tutorial — Draft 033

    stub slot — publish after replacing body from console (python-draft-033)

  76. 76
    Python Tutorial — Part 033

    Placeholder slot — edit in console (python-stub-033).

  77. 77
    Python Tutorial — Draft 034

    stub slot — publish after replacing body from console (python-draft-034)

  78. 78
    Python Tutorial — Part 034

    Placeholder slot — edit in console (python-stub-034).

  79. 79
    Python Tutorial — Draft 035

    stub slot — publish after replacing body from console (python-draft-035)

  80. 80
    Python Tutorial — Part 035

    Placeholder slot — edit in console (python-stub-035).

  81. 81
    Python Tutorial — Draft 036

    stub slot — publish after replacing body from console (python-draft-036)

  82. 82
    Python Tutorial — Part 036

    Placeholder slot — edit in console (python-stub-036).

  83. 83
    Python Tutorial — Draft 037

    stub slot — publish after replacing body from console (python-draft-037)

  84. 84
    Python Tutorial — Part 037

    Placeholder slot — edit in console (python-stub-037).

  85. 85
    Python Tutorial — Draft 038

    stub slot — publish after replacing body from console (python-draft-038)

  86. 86
    Python Tutorial — Part 038

    Placeholder slot — edit in console (python-stub-038).

  87. 87
    Python Tutorial — Draft 039

    stub slot — publish after replacing body from console (python-draft-039)

  88. 88
    Python Tutorial — Part 039

    Placeholder slot — edit in console (python-stub-039).

  89. 89
    Python Tutorial — Draft 040

    stub slot — publish after replacing body from console (python-draft-040)

  90. 90
    Python Tutorial — Part 040

    Placeholder slot — edit in console (python-stub-040).

  91. 91
    Python Tutorial — Draft 041

    stub slot — publish after replacing body from console (python-draft-041)

  92. 92
    Python Tutorial — Part 041

    Placeholder slot — edit in console (python-stub-041).

  93. 93
    Python Tutorial — Draft 042

    stub slot — publish after replacing body from console (python-draft-042)

  94. 94
    Python Tutorial — Part 042

    Placeholder slot — edit in console (python-stub-042).