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
String Toggling
Ej2_PYTHON_203700377.
Tupples
on_off
Quick sort
(P3) Fibonacci 2
InsertionSort
Юра и заселение
Regular falsi
probl2_203700377