# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

#hide
# %load_ext autoreload
# %autoreload 2

#hide
from nbdev import *

# # Deck of Cards
#
# > A minimal example of using nbdev to create a python library.

# This repo uses code from <NAME>'s ThinkPython2

# ## Install

# `pip install your_project_name`

# ## How to use

# Playing cards in python!

from deck_of_cards.deck import Deck
d = Deck()
print(f'Number of playing cards in the deck: {len(d.cards)}')

card = d.pop_card()
print(card)

# See the [docs](https://yannipapandreou.github.io/deck_of_cards/) for more details



StarcoderdataJupyterScriptsDedupFiltered