要將位元組(8 位)轉換為十進位制,只需在第一個引數中寫入8 位的組合。 pythonprintCopy print int('00000011', 2) # outputs 3 print int('00010001', ...
確定! 回上一頁