I have two string list: A = ['YELLOW'] B = ['BA']
I want to combine these two string using a recursive function to get ['YBAEBALBALBAOBAWBA']
HERE IS my function :
def Combine(A, B):
if len(A) > 0:
return str(A[0]) + str(B) + Combine(A[:0], B)
-- I have no idea how recursive works? Could someone please help me!