Editable python code area in Dash apps

Hi All

How can I add a kind of python IDE, an editable area where the user can modify or enter python code and return the results of the code in another div.

Thanks