摘要:
binary_num = '10000001' ones_complement = '' for bit in binary_num: ones_complement += '0' if bit == '1' else '1' print(ones_complement) #加上1 binary_n 阅读全文
posted @ 2024-05-12 22:20
®Geovin Du Dream Park™
阅读(28)
评论(0)
推荐(0)
浙公网安备 33010602011771号