IBM Interview Question

To convert int to binary in python without inbuilt function