Question d’entretien chez Jio

Explain the logic to build the code for sum.of prime numbers to be something?