Skip to content
← Index | Lesson 2 of 5

Variables with let

Variables in Zolo

In Zolo, variables are declared with let:

let name = "Alice"
let age = 30
print(name)
print(age)

By default, variables are immutable — they cannot be reassigned after declaration.

Goal: Create a variable language with the value "Zolo" and print it.

lesson-1-2.zolo
Program output

Run the code to see the output

Search Zolo

9 results

enespt-br