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.

Filename, size & hash SHA256 hash help File type Python version Upload date
ulam_spiral-1-py2.py3-none-any.whl (4.5 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page