I would like to know if there is a better way to print all objects in a Python list than this :
myList = [Person(\"Foo\"), Person(\"Bar\")] print(\"\\n\".joi
To print each element of a given list using a single line code
for i in result: print(i)