Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Primes finding algorithm
def prime(x): i = 3 if(x % 2 == 0): return False else: while i <= x // 2: if(x % i == 0): return False i += 2 return True print(prime(149))
run
|
edit
|
history
|
help
0
gj4
hello
Python3 complete func.
Butch
EJ2_PYTHON_207266167
Eje2_Python_201169275
Lab_III_2_01_12_2020
BasicPattern.py
permutations example
Patterns