which of the following lists of ordered pairs is a function?

Answer:
D
Step-by-step explanation:
to be a function you cannot have different y values for the same x, in B for example when x = 3 you have two different values for y (3,7) and (3,8)
D is the only choice where each value of x only has one value for y