itertools.product()

  • + 0 comments

    Just to note that the specification says 0 < A < 30 and 0 < B < 30. At least one test case includes values of A that are 0 and if your code does not produce the cartesian product anyway it is marked wrong. Harrumph.