l1 = ["chowmein", "bhindi", "aloo", "samosa", "carrot"]
#i = 1
#for item in l1:
#if i%2 is not 0:
#print(f"jarvis please buy {item}")
#i+=1
for index, item in enumerate(l1):
if index%2==0:
print(f"jarvis please buy {item}")
NO ONE IS PERFECT IN THIS WORLD EVERYONE HAS SOME TYPE OF INABILITIES BUT PEOPLE DIFFER BY THEIR HARDWORK WHO DO HARDWORK AND DON'T MAKE ANNOUNCEMENTS WILL DEFINITELY SUCCEED RATHER THAN PEOPLE WHO MAKE ANNOUNCEMENTS.VISIT MY BLOG TO KNOW LIFE BETTER.
l1 = ["chowmein", "bhindi", "aloo", "samosa", "carrot"]
#i = 1
#for item in l1:
#if i%2 is not 0:
#print(f"jarvis please buy {item}")
#i+=1
for index, item in enumerate(l1):
if index%2==0:
print(f"jarvis please buy {item}")
Comments
Post a Comment