Python
2
Вклад в тег
for index, letter in enumerate(letters.upper()):
for number in range(2, len(names) + 2):
splited_name = names[number - 2].split()
if index == 7:
if int(splited_name[index - 1]) > 150:
ws[f"{letter}{number}"] = "Призер"
else:
ws[f"{letter}{number}"] = "Участник"
else:
if index >= 4 or index == 6:
ws[f"{letter}{number}"] = int(splited_name[index])