Issue outputting arrays to html table | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Issue outputting arrays to html table

I’m trying to output 2 arrays into an html table using separate columns. I can’t seem to get the columns side by side? Any suggestions? column 1 | column 2 1 1 2 3 3 6 Thanks https://code.sololearn.com/wGtu8LYn4UTA/?ref=app

13th Feb 2020, 1:20 PM
Chris Cummings
Chris Cummings - avatar
4 Answers
+ 1
I'll see what I can do. Let me get back to you later ... Chris Cummings This is what I understood as per your explanation. Hope it was what you expected. P.S. What is the purpose of <$sum> array? I see it has same content with <$out> ... https://code.sololearn.com/w9x9xqn71KcO/?ref=app
13th Feb 2020, 2:28 PM
Ipang
+ 1
yeah that’s perfect thank you and yeah not sure what I was thinking aha
13th Feb 2020, 3:01 PM
Chris Cummings
Chris Cummings - avatar
0
I can't imagine how you want the numbers to be arranged in the table. Can you elaborate with more details? Question had been edited. (Edited)
13th Feb 2020, 2:19 PM
Ipang
0
@ipang basically just 2 columns side by side. thank you column 1 | column 2 1 1 2 3 3 6
13th Feb 2020, 2:24 PM
Chris Cummings
Chris Cummings - avatar