for in range( , )self cards append(card(vs) pinochle deck has only ninestensjacksqueenskingsand aces there are two copies of each card in each suit here is the hi-low program that uses the classes we have developed here one way to think of what we have done with the classes is that we have built up miniature card programming languagewhere we can think about how card game works and not have to worry about exactly how cards are shuffled or dealt or whateversince that is wrapped up into the classes for the hi-low gamewe get new deck of cardsshuffle itand then deal out the cards one at time when we run out of cardswe get new deck and shuffle it nice feature of this game is that it deals out all cards of deckso player can use their memory to help them play the game deck standard_deck(deck shuffle(new_card deck nextcard(print'\ 'new_cardchoice input("higher (hor lower ( )"streak while (choice=' or choice=' ')if not deck hascard()deck standard_deck(deck shuffle(old_card new_card new_card deck nextcard(if (choice lower()=' and new_card value>old_card value orchoice lower()=' and new_card value<old_card value)streak streak print("rightthat ' "streak"in row!"elif (choice lower()=' and new_card value<old_card value orchoice lower()=' and new_card value>old_card value)streak print'wrong 'elseprint'push 'print'\ 'new_cardchoice input("higher (hor lower ( )"king of clubs higher (hor lower ( ) rightthat' in row of spades