Learn Julia from println to a small project: numbers, loops, functions, arrays and dictionaries, checked as you go.
8 lessons, 16 exercises. Runs Julia 1.13.
Not started
Hello, output
Print text with println and print, write comments, and see how Julia runs a script from top to bottom.
Values and variables
Store values in variables, meet Julia's basic types, insert values into strings, and declare constants.
Reading input and arithmetic
Read lines from standard input with readline, parse text into numbers, and calculate with Julia's operators.
Making decisions
Choose what to run with if, elseif and else, the ternary operator, comparisons and boolean logic.
Loops
Repeat work with for and while loops, skip or stop with continue and break, and update outer variables safely.
Functions
Define functions with parameters, default and keyword arguments, return one or several values, and keep variables local.
Arrays and dictionaries
Keep many values in arrays, grow, sort and filter them, and look values up by key with Dict.
Strings and a small project
Clean, search, split, join and format text with Julia's string functions, then build a small expense report.
Your progress is saved in this browser. Sign in to keep it on every device.