iterate the list in python using for loop one line code example Example: one-line for loop python [thing for thing in list_of_things]