variable
Assigns a name to a value.
Syntax
name = value
Description
In Ruby, you don't specify types; they are automatically determined by the value. Variables start with lowercase letters.
Example
Loading editor…
Expected output
Alex - 36
When to use?
Storing all kinds of data.