i know that the index function work like this:
list = ['dog','cat','pizza','trump', 'computer', 'trump']
print list.index('trump')
the output will be 3. but now i want him for print the other 'trump' string, that come after 2 objects. but if i will do the same command:
print list.index('trump')
he will print 3 again - the first trump he see. so how do i move the 'offset' of the index function, so she will detect the other trump, in the index 5? thanks lot you guys!!