def levels_owned_by(user): levels_owned_by_user = level_management.levels_owned_by(user) owned_data = list(map(level_data_for, levels_owned_by_user)) return owned_data
def levels_owned_by(user): levels_owned_by_user = level_management.levels_owned_by(user) owned_data = map(level_data_for, levels_owned_by_user) return owned_data