In general, interpreted code runs more slowly than compiled code because the interpreter translates the program on-the-fly into something the machine can handle.
Although this efficiency hit might seem like a downside, interpreted languages are useful for several reasons. First, it is much easier to get a program written in Python to run on Linux, Windows, and macOS. All you need to do is make sure Python is installed on the computer you wish to run the script.
Another benefit is that the code is always available for reading and it can be easily changed to work the way you want it to. With compiled code, you need to find where the code is kept, change it, compile it, and redeploy the program. With interpreted code, however, you open the program, change it, and it is ready to go.
https://www.lifewire.com/compiled-language-2184210