ice_cream
public ruby v1 · immutable138 if( @deck[0] != ('A' or 'B'))139 if (@deck[@deck[0]] != ('A' or 'B') )140 print toletter(@deck[@deck[0]]) 141 end142 end#relevant lines above; error message is 139:in `[]': can't convert String into Integer (TypeError)## a deck contains numbers 1-52, and also two characters 'A' and 'B'