k=15 c=0 while k!=0: if k&1==1: c=c+1 k=k>>1 else: k=k>>1 print(c)
To embed this project on your website, copy the following code and paste it into your website's HTML: