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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for find_palindroms-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f98de35d636664ed8b9b4cb67fb9d2d7bd8b4edde031f28459709d39988c1110 |
|
MD5 | 9a360e76f726a63b3b1d07d4cd9cb767 |
|
BLAKE2b-256 | a64de0ed1224a562dd4b3a3b3c4e85706a2a100b824a5c6e773aaa56bc712ff7 |