In this test, you will write a program that plays a game similar to the coin flipping game, but using cards instead of coins. Feel free to use module cards.py.
faceValues = [‘ace’, ‘2’, ‘3’, ‘4’, ‘5’, ‘6’,
‘7’, ‘8’, ‘9’, ’10’, ‘jack’,
suits = [‘clubs’, ‘diamonds’, ‘hearts’,
deck = 
for faceValue in faceValues:
for suit in suits:
deck.append(faceValue + ‘ of ‘ + suit)
Write a program called test4.py that plays the following card game:
The game starts with certain initial amount of dollars.
At each round of the game, instead of flipping a coin, the player shuffles a deck and draws 6 cards. If the drawn hand contains at least one ace, the player gains a dollar, Otherwise, they lose a dollar.
The game runs until the player either runs out of money or doubles their initial amount.
To test the game, given the initial amount, run it 1000 times to determine how many rounds does the game last on average.
Provide a user with an interface to enter the initial bankroll. For each entered number, the program should respond with the average duration of the game for that initial bankroll.
"Place your order now for a similar assignment and have exceptional work written by our team of experts, guaranteeing you A results."