Write to_binary(n) returning the binary string of a non-negative integer without using bin().
to_binary(n)
bin()
to_binary(10) → '1010'
to_binary(0) → '0'
Submit runs 5 tests, including hidden edge cases.
Run your code to see the output here.