The set is the set of all real numbers that a greater than 0 but less than or equal to 2.
Whereas, is a set with only two elements, 0 & 2.
Do you see why it is impossible that they could be equal?
No, because the second set contains the numbers one and two, not zero and two. One is greater than zero but less than two. And two is greater than zero and equal to two. Shouldn't that make them equal?