def decimal_to_binary(decimal):
    """Converts a decimal(int) into binary(str)"""
    binary_result = ''
    # new_decimal = int(decimal)
    while decimal > 0:
        remainder = decimal % 2
        binary_result = str(remainder) + binary_result
        decimal = int(decimal / 2)
    return binary_result