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