0
The code runs until the deck reaches a low number. I tried to make it so a new deck inserts itself into the deck when the card count gets low but it still says the index is out of range. Any suggestions?
import random
import time
deck = [2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, ...