Your question is Convert Number to Binary. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
Technogen India Pvt. needs a utility that formats numeric values for low-level processing. Given a nonnegative integer, return its binary representation as a string without leading zeroes.
Implement the function to_binary(number).
number, an integer where 0 <= number <= 10^9.0 and 1.number in base 2.0 must return "0".bin() function or other direct base-conversion utilities.def to_binary(number):