Pybites Logo

Create a deck of uno cards

Level: Intermediate (score: 3)

In this Bite you will create a deck of Uno cards. Here is the equipment requirement as described here - use the same card names as in bold here:

There are 108 cards in a Uno deck. There are four suits, Red, Green, Yellow and Blue, each consisting of one 0 card, two 1 cards, two 2s, 3s, 4s, 5s, 6s, 7s, 8s and 9s; two Draw Two cards; two Skip cards; and two Reverse cards. In addition there are four Wild cards and four Wild Draw Four cards.

Complete create_uno_deck using the provided UnoCard namedtuple and returning the deck as a list. Have fun!