Skip to main content

This project helps to solve basics problems where you stuck every time because these are basic tasks and we forget it everytime then when suddenly asked by someone or during collage projects.This tool covers every basics problems such as fibnacci series , complex patterns, reverse string, find duplicate values and more.

Project description

HTASK

htask is a Python package designed to simplify the process of solving common problems that students frequently encounter while coding. With just one line of code, htask helps you reduce the amount of code you write, making it easier to implement solutions for various tasks.

Features

  • Pattern Generation: Create and display various patterns easily.
    • Right-angle triangle
    • Inverse Right-angle triangle
    • Pascal's Triangle
    • Hollow Square
    • Hollow Triangle
    • Inverse Pyramid
    • Pyramid
    • Diamond
    • Square
  • Fibonacci Series: Generate Fibonacci numbers with minimal effort.
  • Check Palindrome: Easily check if a given string is a palindrome.
  • Reverse a String: Reverse any string with a simple function.
  • Duplicate Element: Identify duplicate elements in a list.

Installation

pip install htask

USAGE

import htask

# [1] Right-Angled Triangle
htask.RAT(5, "*")

# [2] Inverted Right-Angled Triangle
htask.IRAT(5, "*")

# [3] Pyramid
htask.PRM(5, "*")

# [4] Inverse Pyramid
htask.IPRM(5, "*")

# [5] Diamond
htask.DIA(5, "*")

# [6] Square
htask.SQR(5, "*")

# [7] Hollow Square
htask.HSQR(5, "*")

# [8] Hollow Triangle
htask.HTRI(5, "*")

# [9] Hourglass
htask.HGLASS(5, "*")


#[10] Fibnacci series
htask.fib(5)

#[11] Check palidrome
htask.palindrome("civic")

#[12] Reverse string
htask.rev("civic")

#[13]Find Duplicate element
arr = [1,2,3,4,5,6,7,8,1,9,11,5,3]
htask.duplicate(arr)

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contributing

Contributions to htask are welcome! If you have suggestions, improvements, or bug fixes, please fork the repository and submit a pull request. Ensure your contributions adhere to the coding standards and include appropriate documentation.

Contact

For any inquiries or feedback, please contact:

Thank you for using htask!

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

htask-1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

htask-1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file htask-1.0.tar.gz.

File metadata

  • Download URL: htask-1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for htask-1.0.tar.gz
Algorithm Hash digest
SHA256 c3a0c1ab487522fdbf1cc7fbccb7b59e852d02bd68589c96e5d5d7275d2901ac
MD5 dc6d66aa73dd93fdc0c317509fa6212a
BLAKE2b-256 35928812e622e48a9234afb529308ec2ac8b93ecade427dfa18097f7e9f20a0d

See more details on using hashes here.

File details

Details for the file htask-1.0-py3-none-any.whl.

File metadata

  • Download URL: htask-1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for htask-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 70b248174c39264a18ff5b26ef85954155b5c2e05eee9bffc3cce388b7bd5a70
MD5 8b1dea413e3f23632e0cc9d7870b4d34
BLAKE2b-256 5c4fa32cf976e6d9d4128a701c22c93abe4cfef31634cef2c3d68098553f6981

See more details on using hashes here.

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