How to make 2 sets, the program must output the Cartesian product of their respective elements

So my question is how do i make 2 sets? if these are my two set
moon S sun S stars
run S walk S stop S stand
Topic archived. No new replies allowed.