I am completely new to programming so excuse my little knowledge. I want to get certain items from a list. For example:
list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
pick_1 = 3
pick_2 = 8
number_in_between = ...
I want the result to be:
numbers_in_between = 4, 5, 6, 7
I think i should use the index
function but haven't been able to figure out how yet.
Any help is welcomed.