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

A new program: is_number.py, to check for numbers of any kind. #1971

Merged
merged 3 commits into from
Aug 28, 2023

Conversation

NitkarshChourasia
Copy link
Contributor

Adding a program named is_number.py.
Which checks whether a input object is number of any form or not.
It has OOP, KISS, DRY and Docstring and industry best coding practices, implemented.

Copy link
Contributor Author

@NitkarshChourasia NitkarshChourasia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good program.

NitkarshChourasia added a commit to NitkarshChourasia/Python-Programs that referenced this pull request Aug 24, 2023
 A new program: is_number.py, to check for numbers of any kind. geekcomputers#1971
@NitkarshChourasia
Copy link
Contributor Author

Making the program more readable and efficient by adding else statement instead of one-liner elif statement.
Copy link
Contributor Author

@NitkarshChourasia NitkarshChourasia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successful.

@sarayusreeyadavpadala
Copy link
Contributor

Adding a program named is_number.py. Which checks whether a input object is number of any form or not. It has OOP, KISS, DRY and Docstring and industry best coding practices, implemented.

Nice one @NitkarshChourasia

@NitkarshChourasia
Copy link
Contributor Author

Adding a program named is_number.py. Which checks whether a input object is number of any form or not. It has OOP, KISS, DRY and Docstring and industry best coding practices, implemented.

Nice one @NitkarshChourasia

Yes I know.

@geekcomputers geekcomputers merged commit 39a8411 into geekcomputers:master Aug 28, 2023
1 check failed
@sarayusreeyadavpadala
Copy link
Contributor

@NitkarshChourasia congratulations!

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.

4 participants