For this Question: Given a positive integer N, your task is to check if the given number prime or not.<b>User Task</b>
Since this is a functional problem, you don't have to worry about the input. You just have to complete the function <i>Ifprime()</i> which contains the given number N.

<b>Constraints:</b>
1 <= N <= 10<sup>9</sup>

<b>Note:</b> 
<i>But there is a catch here given user function has already code in it which may or may not be correct, now you need to figure out these and correct if it is required</i>Print "Yes" if the given number is prime else print "No"Sample Input:-
6

Sample Output:-
No

Sample Input:-
3

Sample Output:-
Yes, I have written this Solution Code: def IFprime(N):
    is_prime = 'Yes'

    if N == 1: is_prime = 'No'

    else:
        for i in range(2, N//2+1):
            if N % i == 0:
                is_prime = 'No'
                break
    
    print(is_prime)

IFprime(int(input())), In this Programming Language: Python, Now tell me if this Code is compilable or not?