Skip to main content

Get python programs handy as a function

Project description

Basic Python Programs that you need
<!-- pygrams.py -->
isOddOrEven()
isPositiveOrNegative()

isEven()
isOdd()
isPrime()
isPositive()
isegative()
isZero()

isEvenNumberExist()
isOddNumberExist()
isPrimeNumberExist()

getEvenNumbers()
getOddNumbers()
getPrimeNumbers()

getEvenNumbersInRange()
getOddNumbersInRange()
getPrimeNumbersInRange()

getEvenValues()
getOddValues()

isLeapYear()
daysInMonth()
bmi()
fizzBuzz()
fibonacci()
factorial()
isArmstrong()

swap()
count()
reverse()

getUniqueElements()
generateRandomNumbers()
generateRandomNumber()
getCurrentTime()
getTodayDate()
generateRandomColor()

getSourceCode()

charList()
wordList()
joinList()

<!-- haselemets.py -->
hasCapitalLetter()
hasSmallLetter()
hasUnderscore()
hasWhiteSpace()
hasPeriod()
hasColon()
hasSemiColon()
hasComma()
hasOperator()
hasNumber()
hasSymbol()
hasElement()

<!-- searching.py -->
binarySearch()
linearSearch()

<!-- sorting.py -->
insertionSort()
bubbleSort()
selectionSort()
mergeSort()
quickSort()
countingSort()
radixSort()
bucketSort()
heapSort()
shellSort()

is there any program missed? Raise an Issue.

Contribution Guide

if you are willing to contribute, here are the steps

  1. Fork the Repo.
  2. clone the Repo. (git clone REPO)
  3. Create a new remote for the upstream repository. (git remote add upstream REPO)
  4. Create a new branch. (git checkout -b my-branch)
  5. Add Codes (git add .)
  6. commit your changes. (git commit -m "Adding an awesome feature to my-branch")
  7. Push the changes to your repository. (git push -u origin my-branch)
  8. Create a pull request. (We will review it ASAP)

And That's it, get your name in contribution List

Feature Request Process

Title: Program Name

Description:

Add the description how the function works

or

Write the complete program and the comments which explains the program Click here to Request

Project details


Download files

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

Source Distribution

pygrams-0.0.10.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file pygrams-0.0.10.tar.gz.

File metadata

  • Download URL: pygrams-0.0.10.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.1 pkginfo/1.7.0 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5

File hashes

Hashes for pygrams-0.0.10.tar.gz
Algorithm Hash digest
SHA256 9e93778ae037cf661d6f2d4a22bcdf2de0b02ec99f223d1e7a82caaec07a4eab
MD5 1a466dfd178ce7dcf5552c81263dee97
BLAKE2b-256 35a7725b03701a83493ab5e327edee0f482d593002ffb5a7860d551039814aa8

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