Source Code:
(back to article)
names = ['Alice', 'Bob', 'Charlie', 'Dave'] for i in range(len(names)): print(f'{i}: {names[i]}')
Result:
Report an issue