Write Python program to illustrate enumerate function in loops


Topic: Write Python program to illustrate enumerate function in loops

Solution

l1 = ["eat","sleep","repeat"] 
for count,ele in enumerate(l1,100): 
    print (count,ele )



List all Python Programs