fruits = ["apple", "banana", "cherry", "date"] for index, fruit in enumerate(fruits): print(index, fruit)
0 apple 1 banana 2 cherry 3 date
Thanks for your comment . Once it's approved, it will appear here.
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Save my name, email, and website in this browser for the next time I comment.
ฮ
Leave a comment