i searched web for this question but found no answer, thus i'm posting it here, my return list gets out of order because i am using the set data type, so is it legal in pset6 to return a unordered list in lines, sentences and substrings?


https://docs.cs50.net/2018/x/psets/6/similarities/less/similarities.html repeatedly talks about no duplicates, but never mentions order. So I assume any order will work. If check50 complains about order (which I doubt), there's sort and sorted. But again, you probably won't need those.

  • i do think so, thanks
    – R. Gurung
    May 9 '18 at 12:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .