Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Number Validators #16

Merged

Conversation

chinmay29hub
Copy link
Member

What have you Changed

  • I have added new validators in number validation
    isPrime: Check if a number is a prime number.
    isEven: Check if a number is even.
    isOdd: Check if a number is odd.
    isMultipleOf: Check if a number is a multiple of another number.
    isSquare: Check if a number is a perfect square.
    isCube: Check if a number is a perfect cube.
  • I have added respective tests.

  • I have documented the respective changes in Sphinx.

  • Also fixed some files using Flake8.

Issue no.(must) - #14

Self Check(Tick After Making pull Request)

  • One Change in one Pull Request
  • I am following clean code and Documentation and my code is well linted with flake8.

Join Us on Discord:- https://discord.gg/JfbK3bS

@codeperfectplus codeperfectplus self-requested a review January 1, 2025 08:18
@codeperfectplus codeperfectplus linked an issue Jan 1, 2025 that may be closed by this pull request
@codeperfectplus codeperfectplus merged commit 7097446 into Py-Contributors:main Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add New Number Validators
2 participants