Question d’entretien chez Prudential

How to encode a binary address in python.