Skip to main content

Ulam spiral

Project description

About

It’s very simple and interesting program, that’s helps you sometimes! I realy hope, that I helped someone. If it’s true, let me know by star. Thanks.

I’m a man, who like math and programming. Thats why I wrote this. And by this I want to help other.

Using

import ulam
test = ulam.Spiral()
test.cout()
# 4 3
# 1 2
test.run(16)
test.cout()
# 16 15 14 13
#  5  4  3 12
#  6  1  2 11
#  7  8  9 10

Installation

By pip

$pip install ulam_spiral

>From source

$ git clone https://gitlab.com/VadVergasov/ulam.git
$ cd ulam
$ python setup.py install

License

The project is licensed under the MIT license.

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ulam_spiral-1.2-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

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