14. multidimensional arrays (data structures)


#1

my_array = [[live, live], [laugh, laugh], [love, love]]

Im getting an error message. HELP!


#2

can you provide the exercise url?

seems you array is full of variables, did you define the variables?


#3

if that doesnt work, here's the screenshot!


#4

you have a bunch of undefined variables inside your array. either declare the variables, or use string or integers like the instructions suggested


#5

ok, now im lost...

I did it several different ways, including a way similar to the example in the hint! I dont know what to do now...


#6

look:

puts live

this will give an error, since live is a variable, but it is undefined. make it into a string for example:

my_array = [['live']]