For this Question: Given a series and a number N, your task is to print the Nth number of the given series.

Series:- 24, 37, 50, 63, 76,. .. .<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>NthNumber()</b> that takes integer N as argument.

Constraints:-
1 <= N <= 10000Return the Nth number.Sample Input:-
1

Sample Output:-
24

Sample Input:-
3

Sample Output:-
50, I have written this Solution Code: def NthNumber(N):
    return 24+(N-1)*13

, In this Programming Language: Python, Now tell me if this Code is compilable or not?