Can these multiple if statements be condensed? : <p>I made a simple program that tells the user what cards are still in a deck based on the cards seen.If one looks at the code you can see that there are several if statements that do almost the same thing. Could anyone help me condense these?</p>

<pre class="lang-py prettyprint-override"><code>for card in cards_seen:
    if card.endswith('C') == True:
        Deck["clubs"].remove(card)
    if card.endswith('D') == True:
        Deck["diamonds"].remove(card)
    if card.endswith('H') == True:
        Deck["hearts"].remove(card)
    if card.endswith('S') == True:
        Deck["spades"].remove(card)
</code></pre>
