In <9d24f23c-b578-4029-ab80-f117599e2...@googlegroups.com> Sayth Renshaw 
<flebber.c...@gmail.com> writes:

> So why can't i assign the result slice to a variable b?

Because shuffle() modifies the list directly, and returns None.
It does NOT return the shuffled list.

-- 
John Gordon                   A is for Amy, who fell down the stairs
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to