Implement Robust Prime Number Checker Function #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement Robust Prime Number Checker Function
Description
Task
Implement Prime Number Checker
Acceptance Criteria
Summary of Work
Prime Number Checker Implementation
Changes Made
is_prime()function insrc/prime_checker.pytests/test_prime_checker.pyImplementation Details
Input Validation
Falsefor numbers less than 2TypeErrorfor non-integer inputsTesting Approach
Acceptance Criteria
Performance Considerations
Notes
Falsefor 0 and 1Changes Made
Tests
Signatures
Staking Key
AEghvdqmRtc3fjKXfNTMJJ6WshksgWuJ9YBExgsZu8cN: vz9MDJb9Qzrd8c3z1pEPggWWEKEWTFQV4b8pJTHrakW5MwAxatxfBkCkXvVmoRdyMsS18EXDBeopHmuGtUK2kWwKWjy6B5sNSSFdQsM8Jb2p7JLt9VJv4Ytrc4cyzFVodtrxThtDdF9kcxUujs1bSqeuKHtboCMhGMw2vkMmCjYjVPgPazyQNauXdwwJ5nvkVjddd4dSz4wKu531nv1YsEzukeijseS7ZGZwG7XY2JmGtPn2C8TC78UnG7jSRS5wXDFEjtBHmTEQaZCm962ZYRftTBGRt1TNtyYybQmvynQCCqhTRqxzgQJwQAYU6xRaJt7MkgTTCMsP9TEEQkV5g612KAHP1CAVF5BPLgRRxu1ArwXGPHEysW9Y3FYfCtLdR69LoJR72ugZ9ehyDMPgGr35BBx1PYJmALU
Public Key
AwXAtX7tMhL4JyB8NfXdsrqc1UifaMyap3c9bpN9RMse: 3khf7i6pkBtM9US6vVmByHNja2AvH2GdnwmpVyPv4fuMf7gXxmsfpvBoCZv5g4NuE4St48J5TjnUYpEEuUbDgp9bmBiEJmujXdTePGN6B9y8q3DPPgCsYoYWPhrpgKui8iqb2ec2kEvjMUt52mYwrQ3XfmkATvSVinXpwShQixWCSKH3qaGz4ornsqM5yuyc5SvfjCKUaGPyXeBJF76CqyjHEfQcdfe1LSZTC4nAfaEbvTb1Fg2ZkVat2tCaXe88Q2PsGphM9Y7sPXzLTEzo4ycfRYMXWu5UYyD2BTrrzxkhm4sE737P2YdCZKqFzMrtGA2JJz7pqz1knCuxqHQJTbhMw94DeRtBQfpT7dVDpr59uzZXNBc7M82g5D848DhqrTxNP5bReBapQ4ovQjZy7otNtDVddutUSEYk