enumerate the list

Question

Enumerate the list:

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

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

Answer ( 1 )

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

Leave an answer

Browse
Browse