def f(n):
s=0
for i in range(1,n+1):
if n%i == 0:
s = s+1
return(s%2 == 1)
The function f(n) given above returns True for a positive number n if and only if??
Answers
Answered by
0
Answer:
I don't understand what is the question ask completely..
Similar questions