Skip to main content

find palindroms

Project description

Практическая работа №6 – Модульные программы

Воробьев Леонид, КИ22-16/1Б, Вариант 10

$ python find_palindroms --help — вызов интерфейса для демонстрации работы

$ python find_palindroms --test — вызов тестов

$ python find_palindroms --finish 5 — создание палиндромов из чисел принадлежащих промежутку от 0(По умолчанию) до 5, используя максимум 50 итераций (Значение по умолчанию)

$ python find_palindroms --start 5 --finish 10 --MaxIterations 10 - создание палиндромов из чисел принадлежащих промежутку от 5 до 10, используя максимум 10 итераций (Для работы с программой параметр '-finish' - обязательный, остальные имеют значение по умолчанию: '--start'=0; '--MaxIterations'=50)

Пример использования пакета:

from find_palindroms.find_palindrom import do_iterations
print(do_iterations(30,34,7))

[(30, 33, 1), (31, 44, 1), (32, 55, 1), (33, 33, 0)]

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

find_palindroms-0.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

find_palindroms-0.1-py3-none-any.whl (5.8 kB view hashes)

Uploaded 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