Sum of two adjacent numbers are primes: Difference between revisions
Sum of two adjacent numbers are primes (view source)
Revision as of 15:31, 18 December 2022
, 1 year ago→Functional
(→Python Functional: Added a further functional variant – a list comprehensions) |
m (→Functional) |
||
Line 1,105:
or as a list comprehension
<syntaxhighlight lang="python">'''Prime sums of two consecutive integers'''
|