enumerate the list

Question

Enumerate the list:

[“apple”, “banana”, “pear”, “grapes”]

in progress 0
YashikaKhurana 55 years 1 Answer 657 views Master 0

Answer ( 1 )

  1. obj=enumerate(fruits);
    print(list(obj))

Leave an answer

Browse
Browse