Learn
Introduction to Ruby
Variables & Data Types
Let’s quickly review how to declare and set variables. Remember, you declare a variable just by saying its name, and you set it using =
. You can always check the Hint below if you need more help.
Instructions
1.
Create a variable called my_name
and set it equal to your name as a string. Create a second variable called my_age
and set it equal to your age as a number (don’t use any quotes around the number).