# [Jelly], [Python 3] and [Python 1], 23 characters, score = \$\frac {23} {27} \approx 0.851\$

 exec(input( ))
 1 ,1#ṛɠV

[Try it online!][TIO-k4q4yecg]

[Jelly]: https://github.com/DennisMitchell/jelly
[TIO-k4q4yecg]: https://tio.run/##y0rNyan8/z@1IjVZIzOvoLREQ0FTk8tQQcdQ@eHO2ScXhP3/b6htBAA "Jelly – Try It Online"

[Try it online Python 3!][TIO-k4q0q4qi]

[Python 3]: https://docs.python.org/3/
[TIO-k4q0q4qi]: https://tio.run/##K6gsycjPM/7/P7UiNVkjM6@gtERDQVOTy1BBx1D54c7ZJxeE/f9fUJSZV6JhqG2kCQA "Python 3 – Try It Online"

[Try it online Python 1!][TIO-k4q4k1g6]

[Python 1]: https://www.python.org/download/releases/1.6.1/
[TIO-k4q4k1g6]: https://tio.run/##K6gsycjPM/z/P7UiNVkjM6@gtERDQVOTy1BBx1D54c7ZJxeE/f@vVFCUmVeiYahtpKkEAA "Python 1 – Try It Online"

A first attempt at this. I tried to make Python 2 work as well, but the encoding issue made it hard.

In all cases, takes a program in the relevant language from STDIN and executes it, with any output going to STDOUT. For Python 1, input needs to be wrapped in quotes. 

I hadn’t realised Python 1 would work until I saw @Jono2906’s answer.