You are viewing a single comment's thread. Return to all comments →
How does the following line work? And what is count('1') used for? a = max(func(bin(n)).split('0')).count('1')
Seems like cookies are disabled on this browser, please enable them to open this website
Day 10: Binary Numbers
You are viewing a single comment's thread. Return to all comments →
How does the following line work? And what is count('1') used for? a = max(func(bin(n)).split('0')).count('1')