For this Question: Sara is giving a True False exam consisting of 10 questions. In which she knows that exactly X of the given questions are True and the rest are false (thanks to her friend) but she does not know the order so she randomly marks X questions true and rest False. 
Given the value of X, your task is to tell Sara what will be the minimum marks she can get<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>minimumMarks()</b> that takes integer X as argument.

Constraints:-
 0 <= X <= 10Return the minimum marks she can get.Sample Input:-
X = 3

Sample Output:-
4

Sample Input:-
10

Sample Output:-
10, I have written this Solution Code: def minimumMarks(X):
    if X>5:
        return 10-2*(10-X)
    return 10-2*(X)
    
, In this Programming Language: Python, Now tell me if this Code is compilable or not?