I accidentally removed python3 from Ubuntu 19.04, and after restarting the PC, it only displays a terminal with a disabled network, so I can't do sudo apt-get update or install anything.
How can I enable the network and then install python3 and recover the Ubuntu?