Factorization: What went wrong with d?
Factorization: What went wrong with d? Question: Consider: Enter image description here Input: 20 17 999997 Output: 2^2 * 5 17 757 * 1321 My code: a = int(input()) # Find the factors first for i in range(2, a+1): s = 0 b = a d = 0 # See if it is a prime …