I am terrible at coding but i think its C bc y is defined as as object and you an index can't be an object
@NukeMonkey