Jul-15-2020, 09:25 PM
words.sort()
sorts the list in placesortedwords = sorted(words)
will return a new sorted list
Why is my original list also sorted?
|
|
Messages In This Thread |
Why is my original list also sorted? - by Pedroski55 - Jul-15-2020, 09:09 PM
RE: Why is my original list also sorted? - by Yoriz - Jul-15-2020, 09:25 PM
|