I have two arrays and I can join them looping these two arrays. But is there better way of doing it?
colors = ['yellow', 'green']
shirts = ['s','m','xl','xxl']
Output required:
output = ['yellow_s','yellow_m','yellow_xl','yellow_xxl','green_s','green_m','green_x','green_xxl']