enumerate the list

Question

Enumerate the list:

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

in progress 0
YashikaKhurana 4 years 1 Answer 646 views Master 0

Answer ( 1 )

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

Leave an answer

Browse
Browse