bin function in python code example Example: python bin() #Return the binary version of 36: x = bin(36)