Variables and Types


Variables are defined like this

myFirstVariable = "I made a variable!"

There are three major types of data you can set variables to.

=begin
in order,
a string,
a boolean,
and a number
=end
aString = "I'm a string!"
aBoolean = true
aNumber = 42

Exercise

Define three variables, myString, myBoolean, and myNumber, and set them to "I'm programming!", "true", and "5".


test