Python program to calculate the binding energy of a Nucleon