Python tahu jumlah loop

a_list = ["a", "b", "c", "d"]

for iteration, item in enumerate(a_list):
  print(iteration)
Motionless Moose