Rust distinguishes between numbers and strings!
In Rust,
"15"(with quotes) is considered a string (&str), while15(without quotes) is considered a number (i32by default).For example, computers can perform mathematical operations on numbers, but not on strings. More on this in the next lessons.
Free plan: 30 tutor messages. Premium is unlimited.
Saved
Ctrl + Enter to check
