Advertisement
VanoHa

isPrime

Jan 21st, 2022
683
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def isPrime(n): for i in range(2,int(n**0.5)+1): if n%i==0: return False return True
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement