Answers for "isprime lambda python"

0

isprime lambda python

f=lambda n:all(n%m for m in range(2,n))
print(f(17)) # True
Posted by: Guest on September-24-2021

Python Answers by Framework

Browse Popular Code Answers by Language