Skip to main content

project euler problem solve by python

Project description



Project Euler is a website dedicated to a series of computational problems intended to be solved with computer programs. The project attracts adults and students interested in mathematics and computer programming. Here we will solve them using Python with purely functional programming style.

Some people have expressed their concerns about making the solutions of the Euler Project public. While the risk of having people using them unjustly certainly exists (shame on them), the benefits of sharing knowledge should exceed this petty inconvenient.

Project Euler Python

用Python 3.x计算Project Euler 开发环境是Win7/Eclipse Juno/Pydev

* []( -- 运行主入口
* []( -- 动态调试模块
* []( -- profiling测试模块
* []( -- unitest测试模块
* [.euler.lib]( -- 算法库
* [.euler.lib.ext]( -- 标准数据类型扩展库
* []( -- 数据文件处理模块
* [.euler.lib.utilities]( -- 小实用库
* [.euler.problem]( -- 问题代码库
* [.euler.problem.problem]( -- 问题入口类
* [.euler.problem.problem_x_x]( -- 问题代码库
* []( -- 问题需要的数据文件


Eclipse Juno+PyDev 默认编码


1. 包名与的总是全部小写的ASCII字母 lowcaselowcase
2. 模块名全部是小写的ASCII字母,运行下划线
3. 类名是个一名词,采用大小写混合的方式,每个单词的首字母大写
4. 函数名方法名是一个动词,采用大小写混合的方式,第一个单词的首字母小写,其后单词的首字母大写
5. 变量名 除了变量名外,所有实例,包括类,类常量,均采用大小写混合的方式,第一个单词的首字母小写,其后单词的首字母大写
6. 常量名 常量的声明,应该全部大写,单词间用下划线隔开
9. 方法与变量名 参见函数名与全局变量名

1. _表示内部变量与函数 可以认为protected
2. __表示私有变量与函数 可以认为private

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions (81.7 kB view hashes)

Uploaded Source

project-euler-python-0.0.3.tar.gz (78.0 kB view hashes)

Uploaded Source

Built Distribution (225.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page