I have been researching around the web, trying to work out how to display a neat grid using placeholders in Python, without using any extra functions; and nothing helpful has been found.
I want to be using data from lists to print out as different rows, for example:
headers = ["Generation","Juveniles","Adults","Seniles"]
genZero = [0,20,30,40]
genOne = [1,30,40,50]
genTwo = [2,40,50,60]
And the output would be something like:
Generation Juveniles Adults Seniles
0 20 30 40
1 30 40 50
2 40 50 60
Is there any simple way to do this using placeholders in the latest version of Python? For instance, using for loops to change values and being able to display all of the values in one of lists on one line, equally spaced.