def binary(num):
    """Function to convert to Binary number of a Decimal number

    args:
         num: number in Decimal format to be converted in Binary format

    """
    binary_str=""

    while num != 0:
        remainder = num % 2
        num = num // 2
        binary_str = str(remainder) + binary_str

    return binary_str