T
T
Tokach_Link2020-06-02 17:21:14
Python
Tokach_Link, 2020-06-02 17:21:14

How to determine the sum of numbers in this case?

for num in range(2000000):
  if num > 1:
    for i in range(2,num):
      if (num % i) == 0:
        break
    else:
      print(num)

How to determine the sum of numbers num in this case?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question