Home › Courses › Programming & CS Foundations
Programming & CS Foundations
How to think like a programmer, from zero, before any AI or math content
8 phases. 32 lessons. 26 labs. 1 capstone. It starts before any Python, with what a computer does when it runs your code. Then real Python from variables to classes, the data structures and algorithms every later course assumes, testing and code quality, and a small tool you design and build yourself. No programming or CS background needed.
Learn Python for AI and machine learning
Start with functions, lists, dictionaries, and files. Then write and test a command-line tool before moving on to models.
8 phases · 32 lessons · 26 labs · 1 capstone
No earlier course is needed.
What you finish with
- A self-designed, tested Python tool — You write the design first, in design.md, then build it, test it with pytest and lint it clean with ruff. Your idea, not a tutorial you followed.
- A working mental model of how a computer runs your code — Bits, memory, the fetch-execute cycle, and why CPUs and GPUs are built differently. Every later course builds on this without explaining it again.
- Real algorithmic judgment — You time real code with perf_counter and see where it stops scaling, rather than memorising Big-O notation.
- Certificate of completion — Issued by DeVenture Academy, tied to your completion record. Lists the programming, data structures, and testing skills you built. Anyone can check it on its public verification page.
Curriculum
- How Computers Actually Work (3 lessons) — free — Bits and bytes, RAM vs. disk, the fetch-execute cycle, CPU vs. GPU cores, and classifying syntax vs. runtime vs. logic errors.
- Programming Fundamentals I (5 lessons) — free — Variables and assignment, if/elif/else, for and while loops, functions with parameters and return values, modules and imports.
- Programming Fundamentals II (5 lessons) — Lists, tuples, dicts, and sets; string processing; reading and writing files and CSVs; try/except error handling.
- Data & Statistical Literacy (4 lessons) — Categorical vs. numerical data, mean/median/mode/standard deviation, distribution shape, correlation vs. causation.
- Computational Thinking & Algorithms (5 lessons) — Linear vs. binary search, Big-O reasoning from measured timing, sorting, recursion, and choosing the right data structure.
- Object-Oriented & Modular Thinking (4 lessons) — Classes, __init__ and self, the configure-once/reuse-repeatedly pattern behind ML libraries, composition over inheritance.
- Testing & Code Quality (3 lessons) — Why 'it ran' isn't 'it's correct,' writing real pytest tests, reading test failures, and linting with ruff.
- Capstone (2 lessons) — Designing a real tool before writing code, building incrementally, and shipping a tested, linted, multi-file program.
Tools
Python · pytest · ruff
Common questions
I have never written a line of code. Is this for me?
Yes. Phase 1 starts before any Python, with what a computer is doing when it runs your code. The first lessons run in your browser, so there is nothing to install.
Do I need this before the AI courses?
Not if you already write Python comfortably: functions, loops, classes, reading a traceback. Then go straight to ML & AI Engineering. This course is for people who can't do those yet.
How is it different from a general Python course?
It stops where the AI courses start. The data structures, the testing habits and the timing-based view of algorithms it teaches are the ones those courses assume you already have.
Continue your learning path
Engineering Practices & Tooling · Quantitative Foundations · Data Analysis & Visualization · ML & AI Engineering
Start the Programming & CS Foundations course
Create a free account — the opening phases of 29 of 35 courses, and the first lesson of every phase, are free, no credit card. Or see Pro pricing.
All courses · Pricing · About · FAQ · Glossary · Projects by topic