PYTHON AND A JOKE
Python And Making A Veggie Table Or Vegetable Table
And a honeymoon salad
The word table has many meanings.
It could be a piece of furniture;
Or space in a restaurant. (reserve a table)
Or an invitation to a meal ( come to the table)
Or an invitation to a religious ceremony
Or a company of people (âHe entertained the whole table)
Or food or meals in general (âShe sets a fine tableâ)
Or a plateau or tableland
Or the time's table
Or the periodic table
Or an organized set of data
This is a story about making a table of veggies with the programming language Python.
How do you turn a list of lists related to veggies into an attractive display in Python?
Pythonâs tabulate module has some great solutions.
Tabulate was not automatically loaded with python, so the first thing you have to do is use Windows command prompt.
After opening cmd.exe, type the following:
pip install tabulate