I can't prove this statement:
If $(E,\tau)$ is a topological space $E_2$ (There is a countable basis for $\tau$), then $(E,\tau)$ is Lindelöf and separable.
I tried to prove Lindelöf first. Let $C = \{ C_\lambda \}$ be an open cover for $(E, \tau)$. Then I need to prove that for some $k \in \mathbb{R}$ there is $C_k = \{ C_{\lambda,k} \}$ a countable subcover for $(E,\tau)$. How can I use the fact that there is a countable basis for finding this subcover?
After my failure, I tried to prove separable. I need to prove that there is a countable dense subset of $(E,\tau)$. But I don't know how. Maybe I'm lacking creativity?
Any help will be appreciated. Thanks!