- 2

how to find the sum of two numbers that in total will give a prime number( in the list) and print these numbers

For example I have list Lst = [3, 1, 2, 4, 5] to find these numbers you need: 1 + 2 = 3 print 3+2=5 print 1+4=5 print 3+4=7 print 5+2=7 So in Output I have to get in The quantity of these numbers : 5 And and what numbers should be added: it is 3 2, 1 4, 3 4, 5 2

14th Nov 2019, 5:27 PM
Марсель Халимов
1 Antwort