I am trying to write a recursive code that can convert a number to any base system. for example, the integer 10 into binary would convert to 1010
So far I have this but
The convert function returns None, and print prints it. You should either remove the print call, or accumulate the result as a string and return it.
convert
print
(I'm assuming that the call to base is actually meant to be a recursive call to convert.)
base