Coder Social home page Coder Social logo

exercise04's Introduction

List Operations
===============

First, work through the following resources on lists:
    * http://learnpythonthehardway.org/book/ex32.html
    * http://learnpythonthehardway.org/book/ex33.html
    * http://learnpythonthehardway.org/book/ex34.html
    * http://learnpythonthehardway.org/book/ex38.html
    * http://www.learnpython.org/page/Lists
    * http://docs.python.org/tutorial/introduction.html#lists
    * http://docs.python.org/tutorial/datastructures.html#more-on-lists
        --> stop reading before section 5.1.1

In this directory there are two files, list_operations.py and
test_list_operations.py. Try running "python test_list_operations.py" at the CLI
prompt. You should see a lot of console output that ends with the following text:

----------------------------------------------------------------------
Ran 25 tests in 0.007s

FAILED (failures=25)

The test_list_operations.py file contains tests for the functions defined in
list_operations.py. All the tests are failing because none of the functions are
implemented correctly. Your job is to write correct implementations for all the
functions in list_operations.py.

To check your work, you can run the test_list_operations.py file at any time to
get information on the currently failing tests. The failures will be listed in
alphabetical order by function name. When all the tests pass, you will see only
the following output:

.........................
----------------------------------------------------------------------
Ran 25 tests in 0.002s

OK

exercise04's People

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.