Loop Through Array With Python