Your code states that cards_available
consists of the following array:
["2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" ,"A"]
However, you are evaluating whether or not cards_available
includes the string "card_queried"
– this will never evaluate to true
. What should be evaluating whether it includes the variable card_queried
, which, according to your instructions, should be a string "ranging from 2 through A":
cards_available.include? card_queried