3) Consider the following function h. def h(n): S = True for i in range(1.n+1): if i*i == n : 5 = False return(s) The function h(n) given above returns False for a positive number n if and only if: On is an odd number. On is a prime number. On n is a perfect square. Onis a composite number.
Answers
Answered by
0
Answer:
I don't know this answer for your question
Answered by
0
Answer
if and only id n is a perfect square
Explanation:
Similar questions