For loop into a function

So how do you know the imaginary buttons are not working?