Ask
your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW)
32 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
glomore600:
can someone tell me how I can be confident in my own skin while people call me ug
DemonKinge:
tell me what y'all think about this blog post for my class. Sonic State of Mind Music is one of the most powerful and enduring forms of human expression.
DemonKinge:
(Verse 1) I donu2019t bark u2014 I bite, no leash, no chain, Built from grit, from hunger pains, They throw dirt on my name u2014 I rain On every parade the
cullenn:
Hey loves! So, I know online safety can be difficult, I am aware there are previous posts about this, but not everyone saw them, or maybe they need more in
unknownnnnnn:
You told me you loved me like it was something steady, like it would wait. I told you I couldnu2019t date right now not because I didnu2019t care, but becau
Twaylor:
Song minus a lot of swearing, add in the swear words yourself if you want
Puffer:
General Biologist question... if a fish lets say a salmon eats a lets see another
cullenn:
tips for ACT? im in tenth grade so.. help lol mainly math n science
1 hour ago
7 Replies
2 Medals
2 hours ago
4 Replies
0 Medals
7 hours ago
2 Replies
0 Medals
7 hours ago
5 Replies
3 Medals
3 hours ago
2 Replies
0 Medals
6 hours ago
20 Replies
1 Medal
1 day ago
8 Replies
0 Medals
1 day ago
16 Replies
0 Medals