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

Added prime_checker.py for checking prime numbers #1879

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

OmprakashGujji
Copy link

This pull request adds a new Python script named prime_checker.py to the repository. The prime_checker.py script contains functions to check whether a given number is a prime number or not. This addition enhances the functionality of the project by providing a utility for prime number checking, which can be used in various contexts within the project.

gem 'tzinfo-data'
gem 'did_you_mean'
gem 'hound'

Copy link

Choose a reason for hiding this comment

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

2 trailing blank lines detected.

@@ -57,3 +57,8 @@ group :test do
gem "shoulda-matchers"
gem "webmock"
end
gem 'tzinfo-data'
gem 'did_you_mean'
gem 'hound'
Copy link

Choose a reason for hiding this comment

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

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@@ -57,3 +57,8 @@ group :test do
gem "shoulda-matchers"
gem "webmock"
end
gem 'tzinfo-data'
gem 'did_you_mean'
Copy link

Choose a reason for hiding this comment

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

Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem did_you_mean should appear before tzinfo-data.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

@@ -57,3 +57,8 @@ group :test do
gem "shoulda-matchers"
gem "webmock"
end
gem 'tzinfo-data'
Copy link

Choose a reason for hiding this comment

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

Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Trailing whitespace detected.

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.

1 participant