No Need To use for loop for getting locations 
Can use value_list()