Hitung item dalam daftar python dengan loop
for count, item in enumerate(animals):
print("Animal number", count + 1, "in the list is", item)
TheK
for count, item in enumerate(animals):
print("Animal number", count + 1, "in the list is", item)
for count, item in enumerate(animals):
print("Animal number", count + 1, "in the list is", item)
count = 0
for item in animals:
count = count + 1
count = 0