For this Question: Given a number N. Your task is to change the given number into into Binary form.The input contains a single integer N.

Constraints:-
1 <= N <= 1000Print the Binary form of the given number N.Sample Input:-
8

Sample Output:-
1000

Sample Input:-
15

Sample Output:-
1111, I have written this Solution Code: def decimalToBinary(n):
    return bin(n).replace("0b", "")

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