### Checklist - [X] I added a descriptive title - [X] I searched for other issues and couldn't find a solution or duplication - [X] I already searched in Google and didn't find any good information or help ### What happened? In latest version when I have a loop inside a `<py-repl>` I get the output replaced each time instead of appended. i.e. ``` <py-repl id="my-repl-11nov22-1333" auto-generate="true"> for i in range(10): print(i) </py-repl> ``` ### What browsers are you seeing the problem on? (if applicable) Chrome ### Console info _No response_ ### Additional Context _No response_