Code Monkey home page Code Monkey logo

python-checkpoint's Introduction

Python Checkpoint 1

Before You Start

  • Fork and clone this repo.
  • Run pipenv install to install the dependencies for this checkpoint and setup the virtual environment
  • Run pipenv shell to activate your virtual environment
  • run pytest from your activated terminal to check that the tests are working (pytest)

Running Tests

To execute all the tests in the terminal, run pytest. Every time you make a change and save your files, you will need to manually re-run the tests.

Each test file corresponds to one of the code files.

test file code file
tests/data_types_test.py data_types.py
tests/methods_test.py methods.py
tests/oop_test.py oop.py

To run a single test file: pytest ./tests/path-to-test-file.py

When you start, all of the tests will be failing; your goal is to make as many pass as you can in the hour provided.

HINT: read the output of the failing tests.

Instructions

This checkpoint is divided into three sections:

  • Data Types in data_types.py
  • Methods in methods.py
  • Object Oriented Programming in oop.py

Each section has a series of prompts written in inline comments. Write the Python necessary to complete each prompt in each of the three files.

Make a commit after you complete each section.

DO NOT Modify the files in the tests/ folder.

Submission

Fork this repository and clone your fork locally. Commit as you go. When you are finished, push your commits to GitHub.

Wait until the end of the hour to make your Pull Request.

python-checkpoint's People

Stargazers

 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.