Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
числа близнецы
#python 3.5.2 i = 2 pre = 2 flag = True for n in range(pre+1, 100): while flag and (i <= n): if n % i == 0: flag = False print(n, i,n % i, flag) i += 1 i=2 #if flag: # print(n) #if n - pre <= 2: # print (pre, n) # pre = n flag = True i = 2
run
|
edit
|
history
|
help
0
Place strings to proper bucket
PyGen2
Python Unit Test Case Sample
H
default argument
Ex1
PySRP
sum of odd numbers
7 Segment Display
ElaineBrown** rextester.com