How can i make a terminal in JavaScript that can run Python code? [closed]

ok so, what I want is a terminal with the command runPython that can run Python code inputted in a box. once the code is inputted, it runs in the terminal. For example if we made print("I had to go to StackOverflow just to make this terminal") it would show that long message in the terminal