tags = ['python', 'development', 'tutorials', 'code']

number_of_tags = len(tags)
print(number_of_tags)

last_item = tags[-1]

print(last_item)

index_of_last_item = tags.index(last_item)

print(index_of_last_item)

""""
tags = ['python', 'development', 'tutorials', 'code']

number_of_tags = len(tags) # length function gives you the count of elements in a list-pass in tags(list) as an argument
last_item = tags[-1] # to grab the last items index
index_of_last_item = tags.index(last_item) # call the list then call the last_item and pass it to the index

print(number_of_tags)
print(last_item)
print(index_of_last_item)
"""
