The standard way to convert a binary string to an integer is using the built-in function int . You need to pass base 2 for a binary number. 1. 2. 3.
確定! 回上一頁