When I ran a for loop it causes the input of all of the numbers to go down in a straight line instead of across on one line. What is the best way to get all of the outputs to stay on one line?
you could try using end="" in your print statement to smush things together in one line
I did it using an accumulator variable, except instead of accumulating actual numbers, concatenate them like a string. So variable = "" and then concatenate each number to variable until you have the full list.
You can create an empty string then add each number into that string (do this inside the for loop)
In the print function, add the end = " ", which will do it for you. Don't forget to add the space in the quotations since the numbers have space.
Use end="" in your print function, at the the end