Beginner question: If I have 2 lists containing only strings, how do I concatenate them in a third list containing all the elements + each element of one list + each element in the other list? I thought about for loops, but isn't there a more simple way to do it? Example:
listone = ['cat', 'dog' ]
listtwo = ['bin', 'sun']
resulting list = ['cat', 'dog', 'bin', 'sun', 'catbin', 'catsun', 'dogbin', 'dogsun', 'catbinsun', 'catsunbin', 'catcat', 'catdog', 'dogbin', 'dogcat']
EDIT: Thank you all for replies, but i didn't explain what I want to do well enough. The number of string in each list should be indefinite, and every word has to be concatenated with every other word, but not only in the form "x + y". I want also to concatenate it to the other words. Like u = x+y+z