Launch a pro macbook 2015 with Mojave os

Did a silly stupid thing that I wanted to download Python 3.7.2, it would not be downloaded correctly and to try to delete the incorrect download, I deleted the version of Python 2.7 installed. How can I reinstall to fix my error and where to go the correction, new to programming so very limited knowledge, now nothing works. Python support was hopeless. Thank you Jos