I'm stuck on problem set 3, and I refuse to look at answers because I'm stubborn. I don't know why coming here feels like not cheating, but here goes. I have two problems: 1. Every time I display my hand with his 'deal hand' function, it displays a "None" on the empty line for no discernible reason. 2. in part B, which I went on to because the "None" bugged me but didn't prevent functioning, I have a recursive function to guess words with the computer, but it always ends before my base case. Basically, I am iterating on the length of the hand from largest to smallest, when at 5 it stops
For the first one, if i remember correctly, you just have to esoterically write an empty ``` print ``` statement on the last line of your "display hand" function (I tell you this directly rather than try to help you divine the answer since it's such a quirky solution). let me know if that doesn't work for you. To answer your other question I would need to see the problem and/or code to help you.
Join our real-time social learning platform and learn together with your friends!