stellaconyer / exercise04 Goto Github PK
View Code? Open in Web Editor NEWHackbright Exercise04
Hackbright Exercise04
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.