题解 | #查找输入整数二进制中1的个数#
查找输入整数二进制中1的个数
https://www.nowcoder.com/practice/1b46eb4cf3fa49b9965ac3c2c1caf5ad
while True:
    try:
        ent = int(input())
        er = str(bin(ent))
        count = 0
        for i in er:
            if i == '1':
                count += 1
            else:
                continue
        print(count)
    except:
        break
 投递杭州深度求索人工智能基础技术研究有限公司等公司10个岗位
投递杭州深度求索人工智能基础技术研究有限公司等公司10个岗位
