The first, [:], is creating a slice (normally often used for getting just part of a list), which happens to contain the entire list, and thus is effectively a copy of the list. The second, list(), is using the actual รขโ‚ฌยฆ If you declare a variable named list in your module's global namespace, the interpreter will never search for that name in a higher-level namespace (that is __builtins__).

If your list of lists comes from a nested list comprehension, the problem can be solved more simply/directly by fixing the comprehension; Please see how can i get a flat result from a list รขโ‚ฌยฆ I have a piece of code here that is supposed to return the least common element in a list of elements, ordered by commonality: From collections import counter c = counte The notation list means a list of something (but i'm not saying what). Since the code in test works for any kind of object in the list, this works as a formal method parameter. Using a type parameter รขโ‚ฌยฆ

The notation list means a list of something (but i'm not saying what). Since the code in test works for any kind of object in the list, this works as a formal method parameter. Using a type parameter รขโ‚ฌยฆ Reorder list items on your computer, go to google keep. Choose a list. Point to the item you want to move. At the left, click and hold move. Drag the item where you want.

Point to the item you want to move. At the left, click and hold move. Drag the item where you want.