Write a python function that returns binary representation of given number


Topic: Write a python function that returns binary representation of given number

Solution

def to_binary(n):
  return bin(n)



List all Python Programs