I have ordered list of string elements which I need to iterate.. starting from specific element/item from the list until the end.
The list that I have:
ip_list = ['input1','input2','input3',....,'input10']
I wanted to iterate from any given element (which would be dynamic on each run) for example consider input3
currently till the end of List.
So I wanted to achieve something like this:
for item in ip_list[input3:]:
# my logic base
I have searched out that, in Python, we can slice the list with positional base but not on value base.