Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Questions about zip(*[iter(s)]*n)

Hi,

I have been researching on ways to partition a set into equal quantity sub-sets. I came across this code zip([iter(s)]n) however, the code does process, but it outputs a <zip object="" at="" 'hex="" code="" location'=""> and not the actual set of subsets. I tried using show, and print, but that didn't work. Is there something I am missing?

Questions about zip(*[iter(s)]*n)

Hi,

I have been researching on ways to partition a set into equal quantity sub-sets. I came across this code zip([iter(s)]n) however, the code does process, but it outputs a <zip object="" at="" 'hex="" code="" location'=""> < zip object at 'HEX code location' > and not the actual set of subsets. I tried using show, and print, but that didn't work. Is there something I am missing?

Questions about zip(*[iter(s)]*n)

Hi,

I have been researching on ways to partition a set into equal quantity sub-sets. I came across this code zip([iter(s)]n) zip(*[iter(s)]*n) however, the code does process, but it outputs a < zip object at 'HEX code location' > > and not the actual set of subsets. I tried using show, and print, but that didn't work. Is there something I am missing?