experienceyou can enable the cheat featurewhich causes the player to always loseeven if they select the correct card the program in action when you run threecardmonte pythe output will look like thisthree-card monteby al sweigart al@inventwithpython com find the red lady (the queen of hearts)keep an eye on how the cards move here are the cards___ ___ ___ | | | |__j|__q|__ press enter when you are ready to begin swapping left and middle swapping right and middle swapping middle and left swapping right and left swapping left and middle --snipwhich card has the queen of hearts(left middle rightmiddle ___ ___ ___ | | | |__q|__ |__jyou lostthanks for playingsuckerhow it works in this programwe use (ranksuittuple to represent playing card the rank is string representing the card numbersuch as ' '' '' 'or ' 'and the suit is string of either heartclubspadeor diamond emoji since you cannot enter the emoji character using your keyboardwe'll use the chr(function calls on lines to to produce them the tuple (' '''represents the nine of diamonds instead of printing these tuples directlythe displaycards(function on lines to interprets them and displays ascii-art representations on the screenlike in project "blackjack the cards argument for this function is list of the playing card tuplesallowing multiple cards to be displayed in row three-card monte