Ashwanth K
Ashwanth K
is_prime function to check whether a given number is prime using O(sqrt N) algorithm def is_prime(n): try: n = int(n) except: print("Not an integer input") print("Sorry ! Prime Number checking...
I can do this work! I love python. I am new to open source I am a college student pursuing CSE
```python """ Description: triplet(n) function displays all the possible pythagorean triplets where one of the number is n >>> triplet(5) 5 12 13 3 4 5 Count: 2 >>> triplet(17)...