Decimal to binary with Python function

Report a typo

Given the following Python function for converting decimal to binary, what will dec_to_bin(13) return?

def dec_to_bin(n):
    return bin(n).replace("0b", "")
Select one option from the list
___

Create a free account to access the full topic