Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
21 Online
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!
Still Need Help?
Join the QuestionCove community and study together with friends!
did you look at the get_perms() function to see what it returns?
It returns toret. Not sure what that means. I'd like to use is_valid_word on each of the permutations returned.
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!
Join our real-time social learning platform and learn together with your friends!
Latest Questions
xXAikoXx:
Does anybody else have rapid changes in their weight? Sometimes I would lose a lot of weight, gain more, lose again, and the cycle continues lol.
Shadowandsage:
The Ghost (I did the story for a fan bc they asked on their message so now am seeing if u guys like it so this is second attempt) I was driving to the woods
breiadabrattzz:
Anyone opinons on the gurl tht died on the train or the guy tht got beheaded in m
MAGABACK:
WHY WAS CHARLIE KIRK ASSASINATED? WHY DID THAT NEED TO HAPPEN?????????????
TheVoid:
[b] Tv show script - Feedback wanted! [/b] Different parts will be put in respons
3 hours ago
13 Replies
1 Medal
1 day ago
5 Replies
0 Medals
13 hours ago
17 Replies
0 Medals
2 days ago
78 Replies
3 Medals
1 day ago
6 Replies
0 Medals