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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file find_palindroms-0.1.tar.gz.

File metadata

  • Download URL: find_palindroms-0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for find_palindroms-0.1.tar.gz
Algorithm Hash digest
SHA256 42d1deec6833ea0393fcb6da74464a50d0b3f62e6f09996ee8af2bf179b4b05e
MD5 3dd01fe9ee76c458913b31f5e793b7db
BLAKE2b-256 0ac8d08547cc9b5eb70cb85a6a16fff01b1e76af98b58385deef6f1a48976547

See more details on using hashes here.

File details

Details for the file find_palindroms-0.1-py3-none-any.whl.

File metadata

  • Download URL: find_palindroms-0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for find_palindroms-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f98de35d636664ed8b9b4cb67fb9d2d7bd8b4edde031f28459709d39988c1110
MD5 9a360e76f726a63b3b1d07d4cd9cb767
BLAKE2b-256 a64de0ed1224a562dd4b3a3b3c4e85706a2a100b824a5c6e773aaa56bc712ff7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page