Question 22 (2 points): Assuming Deck1 is a Python list containing a deck of playing cards, what does the following Python code do?
import random
random.seed()
def CardDeck(Deck1):
Cards = Deck1[:]
Deck2 = []
for i in range(len(Cards)-1, -1, -1):
j = random.randint(0, i)
Deck2.append(Cards.pop(j))
return Deck2
Deals out a deck of cards.
Returns a shuffled deck of cards and leaves the original deck of cards intact.
Creates a deck of cards.
Returns a shuffled deck of cards and destroys the original deck of cards.
None of the other answers are correct.