We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Abstraction Practice

Let's work on a prototype card game that will eventually be added to Age of Dragons.

Assignment

Finish the DeckOfCards class. The SUITS and RANKS of each card have been provided for you as class variables. You won't need to modify them, but you will need to use them.

In Python, it's a common convention to write constant values in ALL_CAPS.