Question: can the y repeat in a function?
Answer: That's because a function can only have one y value for each x value, so you can't repeat the same x value.