For this Question: There is a saying in Sara's village that "A number is called prime if the sum of all the factors of N is less than or equal to (3*N)/2 ". Given the number N, your task is to check if it is a myth or a fact for the number given.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>mythOrFact()</b> that takes integer N as argument.

Constraints:-
 2 <= N <= 1000Return 1 if it is a fact else return 0.Sample Input:-
2

Sample Output:-
1

Explanation:-
Sum = 2 + 1 = 3
3*(2) / 2 = 3 

Sample Input:-
9

Sample Output:-
0, I have written this Solution Code: def mythOrFact(N):
    prime=1
    cnt=N+1
    for i in range (2,N):
        if N%i==0:
            prime=0
            cnt=cnt+i
    x = 3*N
    x=x//2
    if(cnt <= x and prime==1) or (cnt>x and prime==0):
        return 1
    return 0
    , In this Programming Language: Python, Now tell me if this Code is compilable or not?