разрушение для петли Python
example_list = ["A", "B", "C"]
for counter, letter in enumerate(example_list):
print(counter, letter)
# Output -
# 0 A
# 1 B
# 2 C
Rajitha Amarasinghe