Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
47 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
Stahl2025:
So, I'm supposed to write and draw about a social issue. Any ideas to write and d
MrMystery:
What cultural clashes happened at the arrival of Cortes in the Americas in 1519,
elianabany:
How can I study over trig functions using numeral methods in a mannerly time to b
37 minutes ago
3 Replies
0 Medals
1 hour ago
14 Replies
6 Medals
16 hours ago
12 Replies
3 Medals