Git Product home page Git Product logo

python-exercises's Introduction

Python Exercises

This repository contains the exercises from https://github.com/exercism/python providing small and well-defined problems complete with tests and solutions.

The excercises are mostly unchanged, this repo exists only to make using them as straightforward as possible. You don't need to install anything other than Python.

Get started

  1. Browse through the folders and read the description until you find an exercise you like to solve. Let's say you select hello-world.

  2. Clone the repository

    git clone [email protected]:Alexander-N/python-exercises.git
    

    Alternatively you can download the code from https://github.com/Alexander-N/python-exercises/archive/master.zip

  3. Change into the directory of your exercise

    cd python-exercises/hello-world
    
  4. Edit hello_world.py to solve the exercise. Look at README.md and test.py to find out what to do.

  5. Run the tests with

    python3 test.py
    

    It is also possible to run a specific test, e.g.

    python3 test.py HelloWorldTests.test_hello
    
  6. Compare your solution to the one in solution.py

  7. You can make a pull request to share your solution.

python-exercises's People

Contributors

behrtam avatar kytrinyx avatar sjakobi avatar dog avatar alexander-n avatar betegelse avatar rootulp avatar robphoenix avatar peque avatar oalbe avatar arcuru avatar zacharyrsmith avatar ilya-khadykin avatar etrepum avatar fluxusfrequency avatar mandel01 avatar cypher avatar petertseng avatar kotp avatar pyup-bot avatar csabella avatar nikamirrr avatar martindelille avatar lowks avatar mambocab avatar henrik avatar dkinzer avatar chrisftw avatar cptjackson avatar austinlyons avatar

Watchers

Chevdor avatar James Cloos avatar  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.