Module 8 – Why Does a Rust Program Look Like This?
Why println! Exists
println!("Hello, World!");println! prints one line of text.
The exclamation mark tells Rust this is a macro.
For now, remember: println! prints one line.
Complete this lesson
Answer every check correctly to earn your lesson certificate. Feedback helps you review and try again.
Sign in · Save your progress and earn a certificate for this lesson.