Next, let's introduce how to use list parsing to generate Cartesian products , In fact, each item consists of two or more items in a list . As shown in the figure below ：
The cartesian product
List parsing can generate Cartesian products from two or more lists , Each item is constructed from the items in each list , Then save it as a tuple , Construct these tuples into a list , The length of this list is equal to the product of the length of all input lists . The following example ：
Here is 3 Types and 4 The card of flower color , It can make up 12 Seed result .