I have a list:
l = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
I would like to choose a value between indexes 6 and 14 from this list, but do this 5 times and store those values in another list. How do I?
If it were of any index, it would be:
random.choose(l)
But that's not what I want. Can you help me please?