call the method apps.get_app_config with an argument app_label, for every app_label in app_labels, append the results to a list,
app_configs = [ apps . get_app_config ( app_label ) for app_label in app_labels ]