Re: [Tutor] Calculating and returning possible combinations ofelements from a given set

2010-07-28 Thread ZUXOXUS
2010/7/28 Alan Gauld > > "ZUXOXUS" wrote > > > > My doubt now is whether I can change the way python show the combinations. >> > > Python will display the compbinations however you tell it to. > The function generates the combinations the display is up to you. > In this case you are simply prin

Re: [Tutor] Calculating and returning possible combinations ofelements from a given set

2010-07-28 Thread Alan Gauld
"ZUXOXUS" wrote My doubt now is whether I can change the way python show the combinations. Python will display the compbinations however you tell it to. The function generates the combinations the display is up to you. In this case you are simply printing the results as they come. But you c