Which programming language
should you learn first?
For most beginners, the answer is Python: its code is short and reads almost like English, so you spend your time learning to think like a programmer instead of fighting punctuation. But the best first language is the one that gets you building what you care about.
Try your first lesson before you make an account.
Predict the output
What does this program print?
scores = [72, 95, 88]
best = max(scores)
print(f"Top score: {best}")
Top score: 95Top score: 72Top score: [72, 95, 88]
Show the answer →
Top score: 95. max() returns the biggest item in the list.
Choose by goal
Pick by what you want to build
| If… | Start with | Why |
|---|---|---|
| You've never coded and want the gentlest start | Python | Short, readable code, and it's used everywhere from data and AI to automation. |
| You want to build websites and web apps | JavaScript | Every interactive site runs it, in the browser and on servers too. |
| You want to make games | C# or C++ | C# runs Unity games; C++ is behind most big game engines. |
| You want Android apps or big business systems | Java | Strongly typed and structured, so programs stay organised as they grow. |
| You want to know how computers really work | C | Memory, pointers and speed, with nothing hidden. |
| You want to understand how AI and chatbots work | Understanding AI | Data, machine learning, neural networks and chatbots in plain words. No coding experience needed. |
Good news
Your first language matters less than you think
Variables, conditions, loops, lists and functions work the same way in almost every language; only the spelling changes. Here's the same tiny program in Python and JavaScript:
Python
for n in range(1, 4):
print(n * 10)JavaScript
for (let n = 1; n <= 3; n++) {
console.log(n * 10);
}Both print 10, 20 and 30. Once you can think in steps in one language, your second takes weeks rather than months. So don't wait for the perfect choice: pick one and start.
New to the words? What is a variable?, What is a loop? and What is a function? explain them in a minute each.
How it works
Learning it five minutes at a time
Five-minute lessons
One idea at a time, explained with a worked example, then a question about it straight away.
Real code, really run
Every lesson ends with a short program you write yourself. It runs in a sandbox and is checked with tests.
Streaks and leagues
Earn XP, keep your streak and climb a weekly league. A streak freeze covers the odd missed day.
Courses
7 complete paths, 423 lessons
Python
60 lessons · 15 units · 5 chapters
The friendliest first language. From print() to classes, files and a habit-tracker capstone.
- 1FoundationsVariables, values, output, input and basic types.
- 2Logic and RepetitionConditions, comparisons, loops and Boolean logic.
- 3Data and FunctionsStrings, collections, functions, parameters and return values.
- 4Applied ProgrammingErrors, files, modules, structured projects and problem-solving.
- 5Going FurtherRecursion, comprehensions, lambdas, inheritance and saving data as JSON.
JavaScript
60 lessons · 15 units · 5 chapters
The language of the web. From console.log() to async, APIs and a flashcards-app capstone.
- 1FoundationsSyntax, variables, types, output and expressions.
- 2Logic and RepetitionConditions, loops, Boolean logic and control flow.
- 3Data and FunctionsArrays, objects, strings, functions and methods.
- 4Applied JavaScriptErrors, modules, asynchronous concepts, APIs and practical projects.
- 5Going FurtherRecursion, classes and inheritance, Map and Set, and regular expressions.
C
60 lessons · 15 units · 5 chapters
Learn how computers really work. From printf() to pointers, structs and memory you manage yourself.
- 1FoundationsPrograms, variables, types, input and operators.
- 2Control FlowDecisions, loops and functions.
- 3Memory and DataArrays, strings and pointers.
- 4Building ProgramsStructs, dynamic memory, files and a complete project.
- 5Going FurtherRecursion, 2D arrays, enums, bitwise operators and function pointers.
C++
61 lessons · 15 units · 5 chapters
Fast, powerful and everywhere in games. From cout to vectors, classes and smart pointers.
- 1FoundationsOutput, variables, types, input and logic.
- 2Control FlowDecisions, loops and functions.
- 3Data StructuresVectors, maps, sets and memory.
- 4Object-Oriented C++Classes, inheritance, errors and a complete project.
- 5Going FurtherRecursion, lambdas and algorithms, and templates.
Java
61 lessons · 15 units · 5 chapters
The language of Android and big systems. From println() to collections, classes and interfaces.
- 1FoundationsOutput, variables, types, input and logic.
- 2Control FlowDecisions, loops and methods.
- 3Data and CollectionsArrays, lists, maps and strings.
- 4Object-Oriented JavaClasses, inheritance, interfaces, errors and a complete project.
- 5Going FurtherRecursion, lambdas and streams, enums and generics.
C#
61 lessons · 15 units · 5 chapters
The language of Unity and .NET. From Console.WriteLine to LINQ, classes and interfaces.
- 1FoundationsOutput, variables, types, input and logic.
- 2Control FlowDecisions, loops and methods.
- 3Data and LINQArrays, lists, dictionaries and queries.
- 4Object-Oriented C#Classes, inheritance, interfaces, errors and a complete project.
- 5Going FurtherRecursion, enums and generics, delegates, pattern matching and async.
Understanding AI
60 lessons · 15 units · 5 chapters
Learn how AI really works: data, neural networks and chatbots, with tiny programs you can run.
- 1What AI IsWhat counts as AI, the data it learns from and the patterns it finds.
- 2How Machines LearnLearning from examples, getting better by being wrong, and memorising vs understanding.
- 3Neural NetworksArtificial neurons, layers, and how AI sees and hears.
- 4How Chatbots WorkTokens, predicting the next word, and what large language models really are.
- 5AI and YouUsing AI well, fairness and harm, and where AI is heading.
Questions
Good to know
Is Python or JavaScript better for beginners?
Both are good first languages. Python is usually easier to read, so it's the gentler start. JavaScript is the better pick if you mainly want to build websites, because it's the language browsers run.
Is C++ too hard as a first language?
It's harder than Python, because you deal with types and memory from day one, but plenty of people start with it, especially for games. If you choose C++, take it slowly and expect the first few weeks to feel tougher.
How long does it take to learn your first language?
Learning the basics well enough to write small programs of your own takes most people a few months of regular practice. Each Codiqo programming course is about 60 short lessons; at one or two a day, that's one to two months.
Should I learn two languages at once?
It's usually easier to get comfortable with one first. The ideas carry over, so your second language will be much quicker.