let amounts = [1,10,100]
let animals = [cat,dog,horse]
for (let n = 0; n<3; n++){
console.log("I have " + amounts[n] + " of " + animals[n] + " in total" )
}
Currently I get:
I have 1 cat in total
I have 10 dog in total
I have 100 horse in total
Is there a way to format this log with "columns" (they are incoming one by one, and I cannot log them as table)
I have 1 cat in total
I have 10 dog in total
I have 100 horse in total