Learn Kotlin
A free, interactive online Kotlin course for beginners. You write and run real Kotlin in every lesson, get AI hints the moment you're stuck, and earn a free certificate when you finish - no Android Studio, no JDK, nothing to install.
1,000+ codders enrolled
93 lessons79 challenges290 quiz questions
- Beginner friendly
AI-assisted coding help
Hands-on interactive lessons
Audio narration on every lesson
Quizzes to test your knowledge
Free certificate of completion
Syllabus
Section 1
Fundamentals
Start sectionStartExpandCollapseBuild a strong foundation with essential concepts and basic skillsIntroduction
4 lessons415Variables
7 lessons1330Nullability
7 lessons1130Operators Part 1
5 lessons920Operators Part 2
5 lessons920Decision Making
6 lessons1125Basic IO
6 lessons1020Bill Split Calculator
Project5 lessons1Loops
9 lessons1635Functions
8 lessons1430FizzBuzz with a Twist
Project4 lessons1Lists Basics
7 lessons1225Iterating Over Sequences
5 lessons920Lists Advanced
5 lessons920Daily Expense Tracker
Project7 lessons1Final Challenges
3 lessons3
Learn by Doing
Write real code, query databases, build websites, and master AI prompts. Our interactive lessons cover every skill modern developers need.
Build Your Coding Streak
Stay consistent and watch your progress grow! Track your daily coding habit, protect your streak with freeze days, and earn rewards for showing up every day.
12 days streak
Return tomorrow to keep your streak!
January 2026
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
21
22
23
24
25
26
27
28
29
30
Double or Nothing
Day 5 of 7
Streak Freeze
2 left
Code Anywhere, Anytime
Take your coding journey on the go! No setup, no downloads - just open and start coding. Available on iOS, Android and Web with 4.9 star ratings.
You're Not Alone in This
Compete on global leaderboards, invite friends to earn rewards, and celebrate each other's wins. Coding is better with friends!
Every way to learn
Read, listen, test yourself, ask the AI, or look up anything you've already covered. Every lesson meets you where you are.
A variable is a named container that stores a value you can reference later in your program.
In Python, you create one by writing the name, an equals sign, then the value you want to store.
The value can change over time - reassigning the name simply points it to a new value.
Prove Your Skills
Earn certificates for every course you complete. Add them to your LinkedIn profile and resume to showcase your coding expertise to employers.
Why learn Kotlin with Coddy
- Write and run real Kotlin in your browser. No Android Studio, no IntelliJ, no JDK to set up - every lesson compiles your code with the Kotlin compiler server-side and shows the output and any compiler errors instantly, on desktop or phone.
- The Kotlin that Android and backend developers actually write:
valvsvarand type inference, null safety with?.,?:and!!, string templates,ifandwhenas expressions, ranges and loops, functions with default and named arguments, andListvsMutableListwith the collection methods you use every day. - AI hints explain the parts of Kotlin that trip up beginners - why the compiler refuses a nullable, when to use
whenoverif, whyvaldoesn't mean the list is immutable - so you build the right mental model from the first lesson, without waiting for a forum reply. - Build real programs, not just exercises: a bill-split calculator that reads input and formats output, FizzBuzz with a twist, and a daily expense tracker with error handling, totals, and averages. Each one is written step by step across a chapter.