Problem with None type varrible

In a codechef problem of decimal to binary conversion using recursion.In this problem a code stub is provided and in the code stub a varrible or object initialized with None data type and I can’t assign string or list in the None type varrible,so what can I do?