For Loop with Index

fruits = ["apple", "banana", "mango"]
for i, fruit in enumerate(fruits):
    print(f"{i}: {fruit}")
0: apple
1: banana
2: ma