Is this a mistake or I'm missing something here?

Continuing the discussion from freeCodeCamp Challenge Guide: Counting Cards:

Do you have a question?

I think the idea was if the count 1 or higher the return should be Bet not Hold

I am confused by this code can anyone explain this to me with ease

This is an, extremely old thread. It’s best if you you the Ask for Help button to create a new post for your code.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like