multiple for loop in list python code example
Example 1: list comp loop through list certain amount of times
data_subset = [car_data[i] for i in range(1000)]
#List comp, that loops through a certain list (car_data)
#in range of a 1000 times
Example 2: looping through two lists python
for f, b in zip(foo, bar):
print(f, b)
Example 3: multiple values in python loop for x,y
for x, y in zip(a, b):
print x, y