Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 18 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!
Latest Questions
HeyItsAlicia: Mits midnight!!! Happy 16th bday to me !!
5 minutes ago 16 Replies 4 Medals
XShawtyX: Art
4 hours ago 1 Reply 1 Medal
RAVEN69: My drawing so far is actually fire
1 week ago 9 Replies 2 Medals
PureSoulless: is staying at your friend's house while you're homeless legal.
2 weeks ago 5 Replies 1 Medal
whyjustwhy: i did that one TV girl trend with blake (aka @ShadowKid3)
1 week ago 12 Replies 2 Medals
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!