# How do you solve and write the following in interval notation: -2<x <=0?

$x > - 2$ and $x \le 0$
$\left(- 2 , 0\right]$