Nov-12-2020, 05:09 PM
(This post was last modified: Nov-12-2020, 05:09 PM by giorgosmarga.)
(Nov-12-2020, 05:03 PM)perfringo Wrote:(Nov-12-2020, 04:53 PM)giorgosmarga Wrote: You are right i didnt give much details.I updated my post
Never change original post, explain and clarify in subsequent comments. Otherwise thread doesn't make sense for readers.
I don't get how this code can produce: "every sublist has the same order". There are no sublists, there are None-s:
>>> emptylist = [] >>> emptylist.append(random.shuffle([1, 2, 3])) >>> emptylist [None]