Quote:but when converting the alphabet as a string to a set it always takes up the same order.Correct. Sets are hashed (look it up), so they are in hash table order. And you possibly want difference and not == for the two sets.
Set order
Set order
|
|
Messages In This Thread |
RE: Set order - by deanhystad - Jan-09-2023, 05:25 PM
RE: Set order - by woooee - Jan-09-2023, 06:08 PM
RE: Set order - by deanhystad - Jan-09-2023, 06:21 PM
RE: Set order - by woooee - Jan-09-2023, 06:35 PM
RE: Set order - by deanhystad - Jan-09-2023, 07:18 PM
RE: Set order - by bowlofred - Jan-09-2023, 07:20 PM
RE: Set order - by perfringo - Jan-09-2023, 07:26 PM
|
Users browsing this thread: 2 Guest(s)