Pergunta de entrevista da empresa Tata Consultancy Services

Write a program in Python to find the sum of all prime numbers within a given range.