Question: Write a python program that computes A and B( A=residue and B=nonresidue) This is what i have so far: this is my output the sum
Write a python program that computes A and B( A=residue and B=nonresidue)
This is what i have so far:

this is my output the sum for A(residue) is correct but B(non residue) is incorrect please correct B:

A = sum of all 1 /a
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
