<human>:  generate random binary number with certain number of bits.
<bot>:)

# Enter the number of bits
bits = 10

# Calling the function
print((random_binary_number(bits)))

#Example Output
# 0111100111

#Remember to inspect code for bugs.