print a list from return of loop python code example Example: print all objects in list python for p in myList: print p