Try Julia, it has both
By versatility, I'm also including the ecosystem. Julia doesn't seem to be anywhere near python on that.
However, I've heard good things, it's on my to-do list.