Closed activus-d closed 1 year ago
@thibaudcolas @allcaps @Stormheg kindly review my solution to the task:
def generate_combinations(locales, versions):
combined_list = []
for locale in locales:
for version in versions:
combined_list.append(f"{locale}-{version}")
return combined_list
Given a list of locales (
["en", "is", "en_GB"]
), and a list of versions (["latest", "4.1.x", "4.2.x"]
), generate a list of all possible combinations of locales and versions.This helps practice: