Today on Python Lab, we have a quick and easy way to print out all the items of an iterable (list, set, dict etc) one below the other. I find this a great way to clearly read items in a list when debugging.
So: How to pretty print a list?
Pretty Print a list
Lets see how this piece of code works 👇🏾
This article is for subscribers only
To continue reading this article, just register your email and we will send you access.
Subscribe NowAlready have an account? Sign In