sum

PythonF

Even Sum or Factors

The program must accept two integers M and N as the input. If M is even then the program must print the integers from 1 to N whose sum of the…