I am playing with Pyscript for the first time and I am trying to create a DOM element for each element in an array, similar to the *ngFor directive in Angular. Is there any way to achieve this? Answer I am trying to create a DOM element for each element in an array To append a new DOM element, use