Hello.
I'm new in Python and I only want to use basic programing skills.
I have this example code:
list_a = [a, ] * 15
list_b = [b,]
s = 5
n = 2
and want to obtain this:
[b,b,a,a,a,a,a,b,b,b,b,a,a,a,a,a,b,b,b,b,a,a,a,a,a,b,b]
basically I want to insert list_b the number of times said in n between list_a defined the number of times in s.
How can I do this?
Thanks,
Favolas