A python program to calculate sum of all prime number 1 through n using recursion for a given input. There should be many comments and exceptions (alphabets & special characters) should be properly handled.
The output should be like this:
Input : 5
The prime numbers from 1 through 5 are 1,2,3,5. So 1+2+3+5 = 11
Output : 11