# <py-repl> The `` element provides a REPL(Read Eval Print Loop) to evaluate multi-line Python and display output. ## Attributes | attribute | type | default | description | |-------------------|---------|---------|---------------------------------------| | **auto-generate** | boolean | | Auto-generates REPL after evaluation | | **output** | string | | The element to write output into | ### Examples #### `` element set to auto-generate ```html ``` #### `` element with output ```html
hello = "Hello world!" hello ``` Note that if we `print` any element in the repl, the output will be printed in the [`py-terminal`](../plugins/py-terminal.md) if is enabled.