Demo entry 6784824

primality tester

   

Submitted by anonymous on Mar 10, 2019 at 14:05
Language: Python 3. Code size: 52 Bytes.

isPrime=lambda x:all(x%i for i in range(2,x))and x>1

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).