Is an electron inside or outside the nucleus?

They are outside the nucleus. They move around the nucleus.

It is in outsiOnly protons and neutrons are in nucleus

Electrons are outside the atomic nucleus.