Skip to content

Latest commit

 

History

95 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler Solutions

Build Status

Solutions to some of the problems found here, https://projecteuler.net/ in python!

Setup

Install virtualenv

pip install virtualenv

Create a new virtualenv, activate it, and install requirements

virtualenv venv
source venv/bin/activate
pip install -r setup/requirements.txt

Running the Code

To "solve" a problem run

python problems/problem_*.py

Where * is the number of the problem

Tests

To test that all of the problem.py files still work, run

nosetests

this is necessary because some of the problem share code particularly in tools/

This takes a while as some of the scripts take longer to run than others

This repo also uses travis-ci

Why require 100% coverage?

This ensures that there is no dead code and that if I add a problem file I also add it to the list of solutions that I test against

About

Solutions to the problems found here, https://projecteuler.net/ in python!

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages