I have N number of List. Here, I am giving two examples.
List_1 = [5,6,7,8,9,10]
List_2 = [5,6,7,8,9,10]
I want to create a List of tuple from this N number of list. For two elements of list output should be,
[(5,),(6,),(7,),(8,),(9,),(10,),(5,5,),(5,6)....(5,10),(6,5,),(6,6)....(6,10),(7,5,),(7,6)....(7,10)
.............(10,10)]
The output element is 1 to N number of elements pair using all combinations of list elements.
List_1 = [5,6,7,8,9,10]
List_2 = [5,6,7,8,9,10]
List_3 = [5,6,7,8,9,10]
For 3 list element output is,
[(5,),(6,),(7,),(8,),(9,),(10,),(5,5,),(5,6)....(5,10),(6,5,),(6,6)....(6,10),(7,5,),(7,6)....(7,10)
.............(10,10),(5,5,5)..(all combination of 1 ,2 & 3 elements items of three list)...(10,10,10)]
Note: All list have the same value