All lessons

Variables

6 min · Ruby

Store values in named boxes called variables.

Ruby · Variables0/5 cleared

Enemy 1 of 5

Make a variable with name = value — no keyword needed. Then use the name anywhere.

puts prints it.

You
Cold-Start Frostling

Loading editor...

Ln 1, Col 1Spaces: 4
Sign up to fightTarget output: Ada