Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
prime number
def test_prime(n): if (n==1): return False elif (n==2): return True else: for x in range(2,n): if(n % x==0): return False return True print(test_prime(9))
run
|
edit
|
history
|
help
0
Ej2_python_204676887
HW3-final
PyRegGreed
sai hw
Homework exercise
PyLP
binary search
Converion of dictionary to list of tuples (Stackoverflow problem)
Game4
Current date/time