I'm trying to use the itertools
module to use the permutations
function but I'm having problems with my Mac.
I've been programing on another computer using linux and have no problem to use the code.
import itertools
ps = itertools.permutations(m)
This is the error I'm getting when I'm working on a Mac:
AttributeError: 'module' object has no attribute 'permutations'
Anyone knows how can I use 'itertools' in Mac?