Source Code:
(back to article)
x = 5 binary_string = format(x,'b') print(binary_string)
Result:
Report an issue