Mar 15, 2023
Thanks for catching it up, yes, the append the should be inside of the loop. checked my original source code, the append is inside of the loop too.
I missed the code tab when editing the code in Medium editor.
code fixed
Thanks again, @Tdpssn