发布于 1年前

Python 二进制转十进制

decimal = int('1010', 2)
print(decimal) #10
©2020 edoou.com   京ICP备16001874号-3