suppose I have a list in python that is
['hello', 'yo', 'great', 'this', 'cool', 'fam']
how do I get all the possible 2 combinations that I can have from this list in tuples; output example:
[ ('hello','hello'),('hello','yo'),('hello', 'great'),...,('yo','hello'),('yo', 'yo') .... ]
and so on
no packages allowed