fork download
  1. def czy_pierwsza(n):
  2. d = 2
  3. while d * d <=n:
  4. if n % d == 0:
  5. return False
  6. d += 1
  7. return True
Success #stdin #stdout 0.01s 7232KB
stdin
Standard input is empty
stdout
Standard output is empty