Giter Site home page Giter Site logo

python-ta's Introduction

Python Track Assessment

Instructions

This repo contains the accessment exercise for the Python Track Please perform the following instructions.

  • Fork this repository.
  • Clone the repository to your local computer.
  • Add your solution to the specificied position.
  • Commit your solution.
  • Push your update to your repository.
  • Submit your repository URL on the provided google form.

Structure

The directory structure of this template

python-ta/
.
├── readme.md
├── src
│   ├── __init__.py
│   └── app.py
└── test.py

Example

# src/app.py

def solution(n):
    # your code goes here


if __name__ == "__main__":
    if len(sys.argv) <= 1:
        sys.exit(os.error("Argument required"))

    n = int(sys.argv[1])
    print(solution(n))

Running your code

Write your solution in the way your pass the argument into the program via the commandLine/Terminal.

# invoke the solution
$: python src/app.py <input>

Testing

The test containers some basic test to make sure your solution are correct. Run the test to verify.

$: python -m unittest test

Need Help

contact: ***

python-ta's People

Contributors

vimoppa avatar temilolakutelu avatar juliett-wanjiru 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.