Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Prime_list
prime_numbers = [] m = 2 x = 3 prime_numbers.append(2) while x < 10000: if x % m == 0: if x == m: prime_numbers.append(x) x = x + 1 m = 2 else: x = x + 1 m = 2 else: m = m + 1 print (prime_numbers)
run
|
edit
|
history
|
help
2
ass
Recur_fact_stkovrflw
Distribucion de cortes
Short python input
Factorial number using recursion
Reverse the string in python
RCM Distributor info.
Python Unit Test Case Sample
floating point limitations
Pierwiastkowanie