Output

Print text or numbers with print.

print

print writes to the terminal and adds a newline after each call.

fn main() {
    print("Hello, Nyra!")
    print(42)
}

Output

Hello, Nyra!
42