Skip to main content

This package gives a list of evens,odds and prime numbers between two numbers(both inclusive)

Project description

This module return all the even umbers between the given two numbers(Both inclusive).

How to make most use of the module?

simply run the following command “pip install tnumbers” in the command prompt

then open up your project and import tevevn package

now you are ready to use the function evens_between

————-USAGE—————-

import tnumbers

//Prints the values between two integers a and b where a<b a,b=2,20

evens=tnumbers.evens_between(a,b) print(evens)//output is [2,4,6,8,10,12,14,16,18,20]

//similarly for odd and prime numbers print(tnumbers.odds_between(a,b)) //output is [3, 5, 7, 9, 11, 13, 15, 17, 19] print(tnumbers.primes_between(a,b)) //output is [2,3,5,7,11,13,17,19]

Change Log

0.0.1(18/03/2023)

-First Release

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

tnumbers-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file tnumbers-0.0.1.tar.gz.

File metadata

  • Download URL: tnumbers-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for tnumbers-0.0.1.tar.gz
Algorithm Hash digest
SHA256 96e571129c2e8724f4ae229843cc137a75e946ead173339d58de3fb230fc8082
MD5 0f7313414d79fc91bd27e02f92d9cc8a
BLAKE2b-256 a9e11591c42f3b13bfc35b40bb8ca96b1ff75539ea41c4907e2a033648008a35

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