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

Hi. I'm having trouble on PS3, Part B, where I'm supposed to use get_perms(hand, n) and have the computer choose a valid word. But I don' t know how to extract words out of get_perms(hand,n). Can anybody enlighten me? Thanks in advance!

OpenStudy (anonymous):

did you look at the get_perms() function to see what it returns?

OpenStudy (anonymous):

It returns toret. Not sure what that means. I'd like to use is_valid_word on each of the permutations returned.

OpenStudy (anonymous):

I'm okay now. I figured it out. Thanks for pointing me in the right direction.

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!