I have this list of asterisks, and I want to print it this way:
list = ['* *', '*', '* * *', '* * * * *', '* * * * * *', '* * * *']
for i in list:
print i
So here, the output is:
* *
*
* * *
* * * * *
* * * * * *
* * * *
But what do I do if I want the output to be vertical, like this:
* * * * * *
* * * * *
* * * *
* * *
* *
*
Please provide me with the code that will print it vertically.