Re: Generate a random list of numbers

2015-11-19 Thread Seymore4Head
On Fri, 20 Nov 2015 15:38:36 +1100, Steven D'Aprano wrote: >On Fri, 20 Nov 2015 03:05 pm, Seymore4Head wrote: > >> Why does a work and b doesn't? What I was trying to accomplish with b >> is to get a random list (of random length) that could have digits >> repeat. >> >> I got idea for both meth

Re: Generate a random list of numbers

2015-11-19 Thread Steven D'Aprano
On Fri, 20 Nov 2015 03:05 pm, Seymore4Head wrote: > Why does a work and b doesn't? What I was trying to accomplish with b > is to get a random list (of random length) that could have digits > repeat. > > I got idea for both methods from the Internet. I do see that one uses > brackets and the ot