Skip to content

amrs-tech/pybeginners

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Releases

No releases published

Packages

No packages published

Languages