Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 7 Online
OpenStudy (anonymous):

About PS6 problem 4 what does it mean-'string containing the letters of w in sorted order'.What should we do to get that?

OpenStudy (anonymous):

you have lots of words in a wordlist for each word in the wordlist sort the word ('the' -> 'eht') this is the key to a dictionary item the word itself is the value for that dictionary item d['eht'] = 'the' there are lots of ways to sort strings - read the Python docs for a starter; they are very helpful

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!