Bit Manipulation - Number of 1 Bits (Hamming Weight)
What will be the output of the following Python function when the input is 19?
def countSetBits(num: int) -> int:
return bin(num).count('1')
print(countSetBits(19))