I have a List inside of a List in Python and i want to convert them into a single list using List comprehension:
>>> aa = [[1,2],[1,2]]
>>> bb = [num for num in numbers for numbers in aa]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'numbers' is not defined
>>>
What am i doing wrong?
*The answer to my question isn't on the duplicate as stated above, it is below this question.