Skip to content
Snippets Groups Projects
Commit b3b14a16 authored by KimYunBeom's avatar KimYunBeom
Browse files

Upload New File

parent 0caea677
No related branches found
No related tags found
No related merge requests found
a = int(input('input : '))
count = 0
for i in range(16):
count = ((a>>i)&1)+count
print(a, bin(a), count)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment