Python Loop Through Array