Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
39 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
tax:
How do the direction of vibration and the direction of motion of a transverse wav
tax:
How is the frequency of a wave determined and how do you determine it?
tax:
AP Physics: A cart of mass 2.0 kg is initially at rest on a horizontal, frictionless track.
unknownnnnnn:
The word slipped out like it was nothing. Like it didnu2019t carry weight. Like it wouldnu2019t land and stay.
zanesafoodie:
guys can one of u give me like a topic to write a song on maybe something relatab
tax:
AP Physics: A 2.0 kg cart is initially at rest on a frictionless horizontal track.
tax:
AP Physics: A 0.50 kg cart starts from rest at the top of a 30u00b0 inclined plane that is 2.
zanesafoodie:
was no one going to tell me growing up that my bathroom mirror would be my biggest enemy? or that it would show me everything wrong with my body? that it wo
2 hours ago
4 Replies
1 Medal
2 hours ago
4 Replies
1 Medal
4 hours ago
6 Replies
1 Medal
3 hours ago
14 Replies
1 Medal
51 minutes ago
2 Replies
0 Medals
7 hours ago
9 Replies
2 Medals
7 hours ago
15 Replies
2 Medals
7 hours ago
1 Reply
1 Medal