Code viewer for World: Python input attempt

// The rule for how this API handles Python 'print' output: 
// If we have an element with id="ab-python-console" then 'print' appends to it.
// If such an element does not exist, 'print' writes to the console.

// choose one of:
// <script type="py"> 
// <script type="mpy"> 


document.write ( `
 
<div id="ab-python-console"  style='padding:30' ></div>
  
 
<script type="mpy">     

print ("<h1> Python input on Ancient Brain </h1>")

x = input('What is your name? ')

</script>

` );