Examine the given Python program and select the purpose of the program from…
PYQ KVS TGT/PGT 2023
Examine the given Python program and select the purpose of the program from the following options: N=int(input("Enter the number")) for i in range(2, N): if (N%i==0): print(i)
- A.
to display the proper factors (excluding 1 and the number N itself)
- B.
to check whether N is a prime or Not
- C.
to calculate sum of factors of N
- D.
to display all prime factor of the number N
Attempted by 3001 students.
Sign up free to check your answer
Sign up freeLoading lesson…

