how we can write the output of for loop in one line code example Example: making lists with loops in one line python print([i for i in range(10)])