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.

Files for ulam-spiral, version 1.1
Filename, size File type Python version Upload date Hashes
Filename, size ulam_spiral-1.1-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page