How do I get items in a python loop to build a list. In php I would use something like this:
$ar1 = array(\"Bobs\",\"Sams\",\"Jacks\"); foreach ($ar1 as $ar
This should get you started:
list1 = ['Me','You','Sam'] list2 = ['Joe','Jen'] for item in list2: list1.append(item)
list1 now is ['Me', 'You','Sam','Joe','Jen']
['Me', 'You','Sam','Joe','Jen']
If you want a third list, simply define it and append to it instead.