5/16 Help please?


#1

Honestly I'm very stuck. Here is my code:

var_name = my_2d_array
my_2d_array = [[cats, cats, cats], [are, are, are], [awesome, awesome, awesome]]

Can someone tell me whats wrong?


#2
  1. You don't need var_name. Delete it.
  2. You have set my_2d_array to [[cats, cats, cats], [are, are, are], [awesome, awesome, awesome]]. Since none of the cats, are, or awesome has double quotes round (") it, it is interpreted to be as a variable which you haven't defined anywhere.

Can you now fix the error?


#3

4 posts were split to a new topic: 5/16