Arrays and Logic Statements In this lesson we're going to start with arrays, which are a more complex type of variable, and then move on to for loops and if statements, which let you add conditional logic to your code. This is where things get tough, but also very cool.