Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PrimeNumbers
#~23999 max def prime(num): prnum = [] m = 2 x = 3 prnum.append(2) while x < num: if x % m == 0: if x == m: prnum.append(x) x = x + 1 m = 2 else: x = x + 1 m = 2 else: m = m + 1 return prnum practiceNum = int(input()) print(prime(practiceNum))
run
|
edit
|
history
|
help
0
guess123
rstring
Hello world
inverse matrix gauss jordan
Юра и заселение
nth root
Bmi calculator dictionary
fibonacciseries
Rishika
Simple calculator