Login and get coding
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.
create_uno_deckusing the provided
UnoCard namedtupleand returning the deck as a
list. Have fun!
223 out of 225 users completed this Bite.
Will you be Pythonista #224 to crack this Bite?
Resolution time: ~40 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.6 on a 1-10 difficulty scale.
» You can do it! 😌