Core by Critic
ChaptersStreak: 0 days

Core by Critic · Python course

Ultimate Core Python

From your first line of code to how Python really works. Read each chapter, run every example in your browser, and practise with questions that are checked on the spot. 16 chapters, 805 runnable examples and 905 questions so far.

Start with Chapter 0See all sections

Part 0 Start

  1. 0Start Here 39 questions
  2. 1Your First Program 54 questions

Part 1 Basics

  1. 2Values and Types 53 questions
  2. 3Variables and Names 54 questions
  3. 4Operators and Expressions 53 questions
  4. 5Comparisons, Logic and Truthiness 55 questions
  5. 6Input and Type Conversion 58 questions
  6. 7Strings I: Making Strings 60 questions
  7. 8Strings II: Indexing and Slicing 60 questions
  8. 9Strings III: String Methods and Unicode 60 questions
  9. 10Errors and Debugging 58 questions

Part 2 Control flow

  1. 11Decisions: if, elif, else 60 questions
  2. 12Pattern Matching: match and case 59 questions
  3. 13while Loops, break and continue 61 questions
  4. 14for Loops and range 60 questions
  5. 15Nested Loops and the Loop else 61 questions
54 more chapters are planned
  1. 16print and formatted output
  2. 17Standard library tour I: math, random, calendar, time
  3. 18Mathematics with programs
  4. 19Functions
  5. 20Arguments and parameters
  6. 21Scope and namespaces
  7. 22Recursion
  8. 23Functions as values: lambda and closures
  9. 24Functional tools
  10. 25Lists I: the basics
  11. 26Lists II: mutability and aliasing
  12. 27Lists III: methods, stacks, queues, split and join
  13. 28Project: simulating a cricket innings
  14. 29Nested lists, matrices and copying
  15. 30Tuples
  16. 31Dictionaries I
  17. 32Dictionaries II: text processing project
  18. 33Dictionaries III: building a mini LMS
  19. 34Sets and frozensets
  20. 35Comprehensions and generator expressions
  21. 36Looping like a pro: enumerate, zip, sorted
  22. 37Speed of built-ins and the collections module
  23. 38Files I: reading and writing
  24. 39Files II: file methods, with, pathlib
  25. 40CSV and JSON
  26. 41Exceptions in depth
  27. 42Modules and packages
  28. 43Virtual environments, pip and uv
  29. 44Classes and objects
  30. 45Attributes, methods and properties
  31. 46Inheritance and the MRO
  32. 47Composition and abstract classes
  33. 48The data model: dunder methods (Vector project)
  34. 49Dataclasses and enums
  35. 50Iterators
  36. 51Generators and itertools
  37. 52Decorators
  38. 53Context managers
  39. 54Type hints
  40. 55Testing with pytest
  41. 56Logging and debugging
  42. 57Regular expressions
  43. 58Standard library tour II: datetime, os, sys, argparse, subprocess
  44. 59Memory, references and garbage collection
  45. 60Attribute lookup and descriptors
  46. 61Metaclasses and how classes are made
  47. 62Concurrency I: threads and the GIL
  48. 63Concurrency II: processes and concurrent.futures
  49. 64Concurrency III: asyncio
  50. 65Bytecode, performance and profiling
  51. 66Talking to the web: HTTP and APIs
  52. 67Databases with SQLite
  53. 68Code quality and packaging
  54. 69Capstone project