Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
числа близнецы
i = 2 pre = 1000 count_para = 0 flag = True for n in range(pre+1, pre+9000): while flag and (i < n): if n % i == 0: flag = False i += 1 if flag: if n - pre <= 2: print (pre, n, n-pre) count_para += 1 pre = n flag = True i = 2 print ('total', count_para)
run
|
edit
|
history
|
help
0
string length
Sending email from python
Convert to lowercase
find x with f(x) = 0 (limited area of solution)
Atur cara mengira luas dan isipadu sebuah trapezium
Lesson8
list_copy_shallow_deep.py
linked_lists
Add missing person on list with default age 30
Minimum Positive Integer