function julia_set(z, c) n = 0 while abs2(z) < 4 z = z^2 + c n += 1 end n end
Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.
Use the Sieve of Eratosthenes to find all the primes from 2 up to a given number.
Convert a number, represented as a sequence of digits in one base, to any other base.
The classical introductory exercise. Just say "Hello, World!"
Julia is designed for high performance and compiles efficient native code for multiple platforms
Julia is dynamically typed, feels like a scripting language and has good support for interactive use
Julia is designed with reproducibility, distributed computing and frictionless collaboration in mind
Julia uses multiple dispatch as a paradigm, making it unreasonably effective for composing programs
Multiple dispatch, generator expressions and metaprogramming features lead to highly expressive code
Use operator overloading plus unicode operators and identifiers to write code that looks like math
Every language has its own way of doing things. Julia is no different. Our mentors will help you learn to think like a Julia developer and how to write idiomatic code in Julia. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Julia - they'll help you discover the things you don't know that you don't know.Learn more about mentoring
The Julia track on Exercism has 52 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.See all Julia exercises
The best part, it’s 100% free for everyone.