Giter Site home page Giter Site logo

sush4nt / nbdev_sample Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 292 KB

A sample repository to test functionalities of nbdev package.

Home Page: https://sush4nt.github.io/nbdev_sample/

License: Apache License 2.0

Python 22.42% Jupyter Notebook 75.49% CSS 2.09%

nbdev_sample's Introduction

nbdev_sample

This file will become your README and also the index of your documentation.

Install

pip install nbdev_sample

How to use

This is a test library which provides a Card class to create, display and compare different cards

Card(suit=1,rank=4)
Card is 4 of D
suits
['C', 'D', 'H', 'S']
ranks
[None, 'A', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
Deck()
Card is A of C; 
Card is 2 of C; 
Card is 3 of C; 
Card is 4 of C; 
Card is 5 of C; 
Card is 6 of C; 
Card is 7 of C; 
Card is 8 of C; 
Card is 9 of C; 
Card is 10 of C; 
Card is J of C; 
Card is Q of C; 
Card is K of C; 
Card is A of D; 
Card is 2 of D; 
Card is 3 of D; 
Card is 4 of D; 
Card is 5 of D; 
Card is 6 of D; 
Card is 7 of D; 
Card is 8 of D; 
Card is 9 of D; 
Card is 10 of D; 
Card is J of D; 
Card is Q of D; 
Card is K of D; 
Card is A of H; 
Card is 2 of H; 
Card is 3 of H; 
Card is 4 of H; 
Card is 5 of H; 
Card is 6 of H; 
Card is 7 of H; 
Card is 8 of H; 
Card is 9 of H; 
Card is 10 of H; 
Card is J of H; 
Card is Q of H; 
Card is K of H; 
Card is A of S; 
Card is 2 of S; 
Card is 3 of S; 
Card is 4 of S; 
Card is 5 of S; 
Card is 6 of S; 
Card is 7 of S; 
Card is 8 of S; 
Card is 9 of S; 
Card is 10 of S; 
Card is J of S; 
Card is Q of S; 
Card is K of S
deck = Deck()
deck.pop()
Card is K of S

nbdev_sample's People

Contributors

sush4nt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.