Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.13 KB

README.md

File metadata and controls

33 lines (23 loc) · 1.13 KB

pybeginners

Build Status PyPI - License PyPI PyPI - Downloads Contributions

Python package to help beginners with basic math program functionalities like

  • isprime(number)
  • oddeven(number)
  • issquare(number)
  • iscube(number)

Installation

pip install pybeginners

How to Use

  1. Install the package.

  2. To check if a number is perfect square, use the following code:

    from pybeginners import programs
    print(programs.issquare(number))
    
  3. Similarly, you can use programs.isprime(number) and two more functions.

Contributions

Contributions are welcome ! You can create a PR to include a new functionality (either idea or code)