Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
64 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
janaeDehon:
Which of the following lines best summarizes the story? A. The story details an African vacation from a long time ago, in which Sage's adventures are descri
Subshilava:
I have an issue my mom bought me a 3d cat mold from tj maxx and everytime I fill
ShikuniShigana:
Alright so. I need some art ideas, or Drawing design ideas for this Character im doing, He's Kinda like based off Vita Carnis+Shefki Shin+Death Angel(From Q
gelphielvr:
hello :] I have to make a model for my biology class for either topic "evolution"
SnowyBreaks:
Question for the staff here, Could you possibly change my name. I'll dm the name
SsTDOGRednek:
Could someone read my essay and give me some criticism?
Yosad930:
still speed studying for dual enrollment macroeconomics, and a few quick question
gelphielvr:
I have a presentation to do In Front of like 50 people does anyone have any tips
3 minutes ago
4 Replies
1 Medal
1 hour ago
17 Replies
3 Medals
21 hours ago
16 Replies
2 Medals
23 hours ago
15 Replies
2 Medals
1 day ago
2 Replies
0 Medals
19 hours ago
39 Replies
4 Medals
1 day ago
5 Replies
1 Medal
1 day ago
6 Replies
1 Medal