Hello World and Program Structure
Write your first Rust program and learn what fn main and println! do.
Ver lección →Aprende la sintaxis de Rust paso a paso: variables, tipos, cadenas, condiciones, bucles, funciones, arrays, vectores y entrada.
Probar Rust onlineWrite your first Rust program and learn what fn main and println! do.
Ver lección →Declare variables with let, allow changes with mut, and use constants and shadowing.
Ver lección →Work with integers, floating-point numbers, booleans and characters, and convert between them.
Ver lección →Use arithmetic, comparison and logical operators, and see how integer division works.
Ver lección →Create, grow, search and split text with Rust's two string types.
Ver lección →Choose what runs with if, else if and else, and use if as an expression.
Ver lección →Repeat code with for over a range, while with a condition, and loop with break.
Ver lección →Group values with tuples and store a fixed number of items in an array.
Ver lección →