We use Python 3.6

go back Level: Intermediate (img: IM / score: 3) level Bite 60. Create a deck of Uno cards

19 out of 20 users completed this Bite ...
Will you be Pythonista #20 to crack this Bite?
Average Bite difficulty 1-10 rating: 2.0
» You can do it! 😌

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!

Github login button