💎 Ruby Variables

Variables store information that your program can use and change.

🖥️ Example 1: Basic Variables

Assign values to variables with =. Ruby is dynamically typed.

Output will appear here...

🖥️ Example 2: Using Variables

Use variables to build strings and do calculations.

Output will appear here...

🖥️ Example 3: Variable Types

Ruby variables can hold any type: strings, numbers, booleans, etc.

Output will appear here...
💡 Tip: Variable names should start with a lowercase letter or underscore and can't use spaces.