List all the elements of the following sets:

D = {x : x is a letter in the word “LOYAL”}

There are four letters in the word L,O, Y, A as L is repeating


The element of the sets are L, O, Y,A


D = {L, O, Y,A}


7