Step 1: Analyse the given question and find the total number of possibilities.

NOTE: Total number of deck of playing cards = 52 cards.

4 suites of 13 cards each = 4 * 13 = 52

4 suits are Spade(black), Hearts(red),Diamonds(red) and Clubs (black)

Each suites are ace,king,queen,jack,10,9,8,7,6,5,4,3,2

Kings , queens and jacks are called face card.

Here, Rahim removes all the hearts from the cards

There are 13 hearts cards.

Therefore total possibilities are 52 - 13 = 39

Step 2: Calculate the probability of picking out a card that is not a heart from the remaining pack

NOTE: In the pack all heart cards are removed.

Therefore, Remaining cards = not a heart cards = 39

So, the favourable outcomes = 39

The probability of picking out a card that is not a heart from the remaining pack

=P(A)=\frac{39}{39}=1

The probability of picking out a card that is not a heart from the remaining pack = 1

Step 3: Find the probability of picking out a card that is ace of hearts from the remaining pack.

NOTE: In the pack all heart cards are removed.

Therefore, Ace of hearts cards not there in the bag

So, the favourable outcomes = 0

The probability of picking out a card that is ace of hearts from the remaining pack

=P(A)=\frac{0}{39}=0