Task

Write a program that simulates picking four cards randomly from a standard deck of 52 playing cards.

Specifications

  1. The program should randomly select four cards from the deck. Use a random seed argument so that your code can be tested.
  2. Use the function signature kaartspel(seed)
  3. A standard deck of playing cards consists of four suits: hearts, diamonds, clubs, and spades. Each suit has cards numbered 2 through 10, along with the face cards (jack, queen, king) and the ace, for a total of 13 cards per suit.
  4. The program should print the randomly selected cards to the terminal in a human-readable format.

Example output

An example output is given below:

Card number 44 is 6 of Clubs
Card number 12 is King of Spades
Card number 13 is Ace of Hearts
Card number 5 is 6 of Spades

Tips