Domanda di colloquio di IBM

To convert int to binary in python without inbuilt function