okay i have a question for you my lovelies if have an array :
sections = [“a”, “b”, “d”, “e”, “f”, “g”, “h”, “i”, “j”, “k”, “l”, “m”, “n”, “o”, “p”, “q”];
how can i find out what the sixth part of the array is (i.e. g)?
is it
sections[6]
?
if it is that how can i substitute the [6] for a variable?? is it
sections[numberOutput]
might sound like i am answering my own questions but i am trying to work out why something isnt working and by that i mean is it my reasoning