destructuring python code example
Example: array destructuring python
example_list = ["A", "B", "C"]
for counter, letter in enumerate(example_list):
print(counter, letter)
# 0 A
# 1 B
# 2 C
example_list = ["A", "B", "C"]
for counter, letter in enumerate(example_list):
print(counter, letter)
# 0 A
# 1 B
# 2 C