Share
enumerate the list
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Enumerate the list:
[“apple”, “banana”, “pear”, “grapes”]
Answer ( 1 )
obj=enumerate(fruits);
print(list(obj))