"""
Problem: Given a non-negative int n stored in your computer, output its
representation as a binary string. You can't just call str(n), but you 
an call str(0),str(1),...,str(9). 
>>> int_to_dec(104234234)
'104234234'

STOP READING THIS AND TRY IT YOURSELF FIRST.

Scroll down for the solution.
"""





































def int_to_dec(n:int):
  units_digit = str(n % 10)  
  if n <= 9:
    return units_digit
  n_without_units_digit = n // 10
  return int_to_dec(n_without_units_digit) + units_digit

