# from poker.card import Card
import random
class Deck():
    def __init__(self):
        self.cards = []
    
    def __len__(self):
        return len(self.cards)

    def add_cards(self, new_cards):
        self.cards.extend(new_cards)
    
    def remove_cards(self, number):
        cards_to_remove = self.cards[:number]
        del self.cards[:number]
        return cards_to_remove

    def shuffle(self):
        random.shuffle(self.cards)

    